PERFORCE change 69339 for review
Sam Leffler
sam at FreeBSD.org
Wed Jan 19 17:16:17 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=69339
Change 69339 by sam at sam_ebb on 2005/01/20 01:15:39
explicitly avoid timing out ourself due to inactivity; it
can easily happen if the bss is quiet
Affected files ...
.. //depot/projects/wifi/sys/net80211/ieee80211_node.c#45 edit
Differences ...
==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#45 (text+ko) ====
@@ -1362,6 +1362,12 @@
m_freem(ni->ni_rxfrag[0]);
ni->ni_rxfrag[0] = NULL;
}
+ /*
+ * Special case ourself; we may be idle for extended periods
+ * of time and regardless reclaiming our state is wrong.
+ */
+ if (ni == ic->ic_bss)
+ continue;
ni->ni_inact--;
if (ni->ni_associd != 0) {
/*
More information about the p4-projects
mailing list