Date: Thu, 20 Jan 2005 01:16:16 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 69339 for review Message-ID: <200501200116.j0K1GG37013538@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=69339 Change 69339 by sam@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) { /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501200116.j0K1GG37013538>