aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-11 21:29:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-11 21:29:41 +0000
commit22750fbc552118b2b46c63bde1e7509e0a4ca075 (patch)
tree5c01db76dfef57e51b1e506194b29876e727b01c /package/mac80211
parent94d89b6fcbc1d3423a452430aa00ffca62d5fb98 (diff)
downloadupstream-22750fbc552118b2b46c63bde1e7509e0a4ca075.tar.gz
upstream-22750fbc552118b2b46c63bde1e7509e0a4ca075.tar.bz2
upstream-22750fbc552118b2b46c63bde1e7509e0a4ca075.zip
mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_beacon()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24497 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/330-ibss_supress_proberesp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/330-ibss_supress_proberesp.patch b/package/mac80211/patches/330-ibss_supress_proberesp.patch
new file mode 100644
index 0000000000..0c8d1481be
--- /dev/null
+++ b/package/mac80211/patches/330-ibss_supress_proberesp.patch
@@ -0,0 +1,11 @@
+--- a/net/mac80211/driver-ops.h
++++ b/net/mac80211/driver-ops.h
+@@ -381,7 +381,7 @@ static inline void drv_reset_tsf(struct
+
+ static inline int drv_tx_last_beacon(struct ieee80211_local *local)
+ {
+- int ret = 1;
++ int ret = 0; /* default unsuported op for less congestion */
+
+ might_sleep();
+