From 14c4949aded16a688a727db4f8b3f6136778a226 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 11 Dec 2010 21:29:41 +0000 Subject: [PATCH] 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 --- .../mac80211/patches/330-ibss_supress_proberesp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mac80211/patches/330-ibss_supress_proberesp.patch 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 000000000..0c8d1481b --- /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(); +