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
ca28498877
commit
0392bc9412
@ -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