svn commit: r295932 - head/sys/net80211
Andriy Voskoboinyk
avos at FreeBSD.org
Tue Feb 23 21:11:43 UTC 2016
Author: avos
Date: Tue Feb 23 21:11:42 2016
New Revision: 295932
URL: https://svnweb.freebsd.org/changeset/base/295932
Log:
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
Modified:
head/sys/net80211/ieee80211_node.c
Modified: head/sys/net80211/ieee80211_node.c
==============================================================================
--- head/sys/net80211/ieee80211_node.c Tue Feb 23 20:00:55 2016 (r295931)
+++ head/sys/net80211/ieee80211_node.c Tue Feb 23 21:11:42 2016 (r295932)
@@ -2683,7 +2683,6 @@ ieee80211_node_leave(struct ieee80211_no
IEEE80211_LOCK(ic);
IEEE80211_AID_CLR(vap, ni->ni_associd);
- ni->ni_associd = 0;
vap->iv_sta_assoc--;
ic->ic_sta_assoc--;
More information about the svn-src-all
mailing list