mirror of https://github.com/hak5/openwrt-owl.git
parent
65d809ef19
commit
1c0d12c935
|
@ -344,3 +344,14 @@
|
||||||
if (!(rates[i].flags & IEEE80211_TX_RC_MCS))
|
if (!(rates[i].flags & IEEE80211_TX_RC_MCS))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
--- a/net/mac80211/sta_info.c
|
||||||
|
+++ b/net/mac80211/sta_info.c
|
||||||
|
@@ -796,7 +796,7 @@ static int __must_check __sta_info_destr
|
||||||
|
BUG_ON(!sdata->bss);
|
||||||
|
|
||||||
|
atomic_dec(&sdata->bss->num_sta_ps);
|
||||||
|
- __sta_info_clear_tim_bit(sdata->bss, sta);
|
||||||
|
+ sta_info_clear_tim_bit(sta);
|
||||||
|
}
|
||||||
|
|
||||||
|
local->num_sta--;
|
||||||
|
|
Loading…
Reference in New Issue