explicitly avoid timing out ourself due to inactivity; it
can easily happen if the bss is quiet
This commit is contained in:
parent
3e4a72e5d6
commit
9a49661014
@ -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) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user