mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 08:51:09 +02:00
mac80211: fix aggregation on WDS AP interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22302 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6d574c2b24
commit
d0f1d585e3
20
package/mac80211/patches/800-mac80211_aggr_fix.patch
Normal file
20
package/mac80211/patches/800-mac80211_aggr_fix.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- a/net/mac80211/iface.c
|
||||||
|
+++ b/net/mac80211/iface.c
|
||||||
|
@@ -756,7 +756,7 @@ static void ieee80211_iface_work(struct
|
||||||
|
int len = skb->len;
|
||||||
|
|
||||||
|
mutex_lock(&local->sta_mtx);
|
||||||
|
- sta = sta_info_get(sdata, mgmt->sa);
|
||||||
|
+ sta = sta_info_get_bss(sdata, mgmt->sa);
|
||||||
|
if (sta) {
|
||||||
|
switch (mgmt->u.action.u.addba_req.action_code) {
|
||||||
|
case WLAN_ACTION_ADDBA_REQ:
|
||||||
|
@@ -797,7 +797,7 @@ static void ieee80211_iface_work(struct
|
||||||
|
* right, so terminate the session.
|
||||||
|
*/
|
||||||
|
mutex_lock(&local->sta_mtx);
|
||||||
|
- sta = sta_info_get(sdata, mgmt->sa);
|
||||||
|
+ sta = sta_info_get_bss(sdata, mgmt->sa);
|
||||||
|
if (sta) {
|
||||||
|
u16 tid = *ieee80211_get_qos_ctl(hdr) &
|
||||||
|
IEEE80211_QOS_CTL_TID_MASK;
|
Loading…
Reference in New Issue
Block a user