1 --- a/net/mac80211/iface.c
2 +++ b/net/mac80211/iface.c
3 @@ -756,7 +756,7 @@ static void ieee80211_iface_work(struct
6 mutex_lock(&local->sta_mtx);
7 - sta = sta_info_get(sdata, mgmt->sa);
8 + sta = sta_info_get_bss(sdata, mgmt->sa);
10 switch (mgmt->u.action.u.addba_req.action_code) {
11 case WLAN_ACTION_ADDBA_REQ:
12 @@ -797,7 +797,7 @@ static void ieee80211_iface_work(struct
13 * right, so terminate the session.
15 mutex_lock(&local->sta_mtx);
16 - sta = sta_info_get(sdata, mgmt->sa);
17 + sta = sta_info_get_bss(sdata, mgmt->sa);
19 u16 tid = *ieee80211_get_qos_ctl(hdr) &
20 IEEE80211_QOS_CTL_TID_MASK;