diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-04-06 10:41:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-04-06 10:41:23 +0000 |
commit | 9f34772a476cba359681f9d3327db6636d5624c5 (patch) | |
tree | 5a6b599b5b23ba72ecd575d6a7fb998162dce94e /package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch | |
parent | c9a7f5dfffa7d7719aff64f11ba1243123693f19 (diff) | |
download | master-187ad058-9f34772a476cba359681f9d3327db6636d5624c5.tar.gz master-187ad058-9f34772a476cba359681f9d3327db6636d5624c5.tar.bz2 master-187ad058-9f34772a476cba359681f9d3327db6636d5624c5.zip |
mac80211: update to wireless-testing 2014-03-31
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40393 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch')
-rw-r--r-- | package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch b/package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch deleted file mode 100644 index 3942f1e5a1..0000000000 --- a/package/kernel/mac80211/patches/904-wlcore-AP-don-t-start-mac80211-PS-on-non-peer-HLIDs.patch +++ /dev/null @@ -1,28 +0,0 @@ -It seems the wl18xx FW sometimes sends spurious changes on the PSM state -of the broadcast HLID. This causes us to search for a station on a -non-peer link and fail, causing warnings in our log. - -Prevent the driver from considering PSM changes for any non-peer HLIDs. - -Signed-off-by: Arik Nemtsov <arik@wizery.com> -Signed-off-by: Eliad Peller <eliad@wizery.com> - ---- -drivers/net/wireless/ti/wlcore/ps.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - ---- a/drivers/net/wireless/ti/wlcore/ps.c -+++ b/drivers/net/wireless/ti/wlcore/ps.c -@@ -280,7 +280,11 @@ void wl12xx_ps_link_start(struct wl1271 - struct ieee80211_sta *sta; - struct ieee80211_vif *vif = wl12xx_wlvif_to_vif(wlvif); - -- if (test_bit(hlid, &wl->ap_ps_map)) -+ if (WARN_ON_ONCE(wlvif->bss_type != BSS_TYPE_AP_BSS)) -+ return; -+ -+ if (!test_bit(hlid, wlvif->ap.sta_hlid_map) || -+ test_bit(hlid, &wl->ap_ps_map)) - return; - - wl1271_debug(DEBUG_PSM, "start mac80211 PSM on hlid %d pkts %d " |