mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_b...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Dec 2010 21:29:41 +0000 (21:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 11 Dec 2010 21:29:41 +0000 (21:29 +0000)
SVN-Revision: 24497

package/mac80211/patches/330-ibss_supress_proberesp.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/330-ibss_supress_proberesp.patch b/package/mac80211/patches/330-ibss_supress_proberesp.patch
new file mode 100644 (file)
index 0000000..0c8d148
--- /dev/null
@@ -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();