aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit1c7a54d21e7cfa89883afd60c788e094b8705e64 (patch)
treed63f2cf9baf2e941a42d9d6071484bd7d3228492 /package
parent8f676da3d8eb5a2a38a0821f8b2a576c5f42f328 (diff)
downloadupstream-1c7a54d21e7cfa89883afd60c788e094b8705e64.tar.gz
upstream-1c7a54d21e7cfa89883afd60c788e094b8705e64.tar.bz2
upstream-1c7a54d21e7cfa89883afd60c788e094b8705e64.zip
mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_beacon()
SVN-Revision: 24497
Diffstat (limited to 'package')
-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();
+