mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_b...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 330-ibss_supress_proberesp.patch
1 --- a/net/mac80211/driver-ops.h
2 +++ b/net/mac80211/driver-ops.h
3 @@ -381,7 +381,7 @@ static inline void drv_reset_tsf(struct
4
5 static inline int drv_tx_last_beacon(struct ieee80211_local *local)
6 {
7 - int ret = 1;
8 + int ret = 0; /* default unsuported op for less congestion */
9
10 might_sleep();
11