On Tue, 2019-06-11 at 15:47 +0200, Ard Biesheuvel wrote: > > +++ b/net/mac80211/mlme.c > @@ -5038,8 +5038,6 @@ int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata, > auth_alg = WLAN_AUTH_OPEN; > break; > case NL80211_AUTHTYPE_SHARED_KEY: > - if (IS_ERR(local->wep_tx_tfm)) > - return -EOPNOTSUPP; > auth_alg = WLAN_AUTH_SHARED_KEY; This bit is probably not right, we directly use the WEP functions for shared key authentication. johannes