Change Details
package/mac80211/patches/800-mac80211_aggr_fix.patch |
| 1 | --- a/net/mac80211/iface.c |
| 2 | @@ -756,7 +756,7 @@ static void ieee80211_iface_work(struct |
| 3 | int len = skb->len; |
| 4 | |
| 5 | mutex_lock(&local->sta_mtx); |
| 6 | - sta = sta_info_get(sdata, mgmt->sa); |
| 7 | + sta = sta_info_get_bss(sdata, mgmt->sa); |
| 8 | if (sta) { |
| 9 | switch (mgmt->u.action.u.addba_req.action_code) { |
| 10 | case WLAN_ACTION_ADDBA_REQ: |
| 11 | @@ -797,7 +797,7 @@ static void ieee80211_iface_work(struct |
| 12 | * right, so terminate the session. |
| 13 | */ |
| 14 | mutex_lock(&local->sta_mtx); |
| 15 | - sta = sta_info_get(sdata, mgmt->sa); |
| 16 | + sta = sta_info_get_bss(sdata, mgmt->sa); |
| 17 | if (sta) { |
| 18 | u16 tid = *ieee80211_get_qos_ctl(hdr) & |
| 19 | IEEE80211_QOS_CTL_TID_MASK; |
Download the corresponding diff file