net80211: fix TIM cleanup.
Remove duplicate 'ni->ni_associd = 0' assignment from ieee80211_node_leave(), since it breaks iv_set_tim() in ic->ic_node_cleanup() (associd is cleared right after this call). Tested with RTL8188EU (HOSTAP mode) and WUSB54GC (STA mode, with powersaving enabled). Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D5398
This commit is contained in:
parent
287b96dd25
commit
ffadb4acda
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295932
@ -2683,7 +2683,6 @@ ieee80211_node_leave(struct ieee80211_node *ni)
|
||||
|
||||
IEEE80211_LOCK(ic);
|
||||
IEEE80211_AID_CLR(vap, ni->ni_associd);
|
||||
ni->ni_associd = 0;
|
||||
vap->iv_sta_assoc--;
|
||||
ic->ic_sta_assoc--;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user