explicitly avoid timing out ourself due to inactivity; it

can easily happen if the bss is quiet
This commit is contained in:
sam 2005-01-20 02:54:18 +00:00
parent 2b292030fb
commit 3973fcd768

View File

@ -1379,6 +1379,12 @@ ieee80211_timeout_stations(struct ieee80211_node_table *nt)
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) {
/*