diff options
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 19b480de4bbc..687acf23054d 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
@@ -400,7 +400,7 @@ void ieee80211_key_link(struct ieee80211_key *key, | |||
400 | */ | 400 | */ |
401 | 401 | ||
402 | /* same here, the AP could be using QoS */ | 402 | /* same here, the AP could be using QoS */ |
403 | ap = sta_info_get(key->local, key->sdata->u.sta.bssid); | 403 | ap = sta_info_get(key->local, key->sdata->u.mgd.bssid); |
404 | if (ap) { | 404 | if (ap) { |
405 | if (test_sta_flags(ap, WLAN_STA_WME)) | 405 | if (test_sta_flags(ap, WLAN_STA_WME)) |
406 | key->conf.flags |= | 406 | key->conf.flags |= |