svn commit: r226628 - stable/8/sys/dev/iwn

Bernhard Schmidt bschmidt at FreeBSD.org
Sat Oct 22 09:43:36 UTC 2011


Author: bschmidt
Date: Sat Oct 22 09:43:35 2011
New Revision: 226628
URL: http://svn.freebsd.org/changeset/base/226628

Log:
  Fix bmiss notifications, events should be sent when NOT scanning.

Modified:
  stable/8/sys/dev/iwn/if_iwn.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/dev/iwn/if_iwn.c
==============================================================================
--- stable/8/sys/dev/iwn/if_iwn.c	Sat Oct 22 09:38:03 2011	(r226627)
+++ stable/8/sys/dev/iwn/if_iwn.c	Sat Oct 22 09:43:35 2011	(r226628)
@@ -2709,7 +2709,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-all mailing list