diff options
Diffstat (limited to 'net/mac80211/ieee80211_sta.c')
-rw-r--r-- | net/mac80211/ieee80211_sta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index fe94ebfcb157..a2443271629a 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c | |||
@@ -904,7 +904,7 @@ static int ieee80211_sta_wep_configured(struct net_device *dev) | |||
904 | { | 904 | { |
905 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 905 | struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
906 | if (!sdata || !sdata->default_key || | 906 | if (!sdata || !sdata->default_key || |
907 | sdata->default_key->alg != ALG_WEP) | 907 | sdata->default_key->conf.alg != ALG_WEP) |
908 | return 0; | 908 | return 0; |
909 | return 1; | 909 | return 1; |
910 | } | 910 | } |