svn commit: r226346 - head/sys/dev/iwn
Bernhard Schmidt
bschmidt at FreeBSD.org
Thu Oct 13 18:17:03 UTC 2011
Author: bschmidt
Date: Thu Oct 13 18:17:03 2011
New Revision: 226346
URL: http://svn.freebsd.org/changeset/base/226346
Log:
Fix bmiss notifications, events should be sent when NOT scanning.
MFC after: 3 days
Modified:
head/sys/dev/iwn/if_iwn.c
Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c Thu Oct 13 17:20:45 2011 (r226345)
+++ head/sys/dev/iwn/if_iwn.c Thu Oct 13 18:17:03 2011 (r226346)
@@ -2929,7 +2929,7 @@ iwn_notif_intr(struct iwn_softc *sc)
* reinitialize the sensitivity state machine.
*/
if (vap->iv_state == IEEE80211_S_RUN &&
- (ic->ic_flags & IEEE80211_F_SCAN) != 0) {
+ (ic->ic_flags & IEEE80211_F_SCAN) == 0) {
if (misses > 5)
(void)iwn_init_sensitivity(sc);
if (misses >= vap->iv_bmissthreshold) {
More information about the svn-src-head
mailing list