diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2011-10-13 18:17:03 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2011-10-13 18:17:03 +0000 |
commit | 411bc9d083339d566eea659757c208aa9cd4321d (patch) | |
tree | 4f9153a6c76f064bc2f9ea6756a108a1f772e8f4 /sys/dev | |
parent | ad844b42a2ded6583ac9176413a9ef594c5e677b (diff) | |
download | FreeBSD-src-411bc9d083339d566eea659757c208aa9cd4321d.zip FreeBSD-src-411bc9d083339d566eea659757c208aa9cd4321d.tar.gz |
Fix bmiss notifications, events should be sent when NOT scanning.
MFC after: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 294f751..0caf8a9 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -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) { |