mirror of https://github.com/hak5/openwrt.git
mac80211: fix IBSS probe response storms on drivers that do not support drv_tx_last_beacon()
SVN-Revision: 24497lede-17.01
parent
8f676da3d8
commit
1c7a54d21e
|
@ -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();
|
||||
|
Loading…
Reference in New Issue