diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-20 01:54:07 +0000 |
commit | 2fcbada24bc77bef0dc45c1dc5b064187a9d50d3 (patch) | |
tree | 788d51a5c18d6495cd9cb7608f62abf83a1e6c85 /package/mac80211/patches | |
parent | 41872e876522f11895124c072d9f449c34242773 (diff) | |
download | upstream-2fcbada24bc77bef0dc45c1dc5b064187a9d50d3.tar.gz upstream-2fcbada24bc77bef0dc45c1dc5b064187a9d50d3.tar.bz2 upstream-2fcbada24bc77bef0dc45c1dc5b064187a9d50d3.zip |
mac80211: fix aggregation on WDS AP interfaces
SVN-Revision: 22302
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r-- | package/mac80211/patches/800-mac80211_aggr_fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/800-mac80211_aggr_fix.patch b/package/mac80211/patches/800-mac80211_aggr_fix.patch new file mode 100644 index 0000000000..564bfac068 --- /dev/null +++ b/package/mac80211/patches/800-mac80211_aggr_fix.patch @@ -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; |