svn commit: r226626 - stable/9/sys/dev/iwn

Bernhard Schmidt bschmidt at FreeBSD.org
Sat Oct 22 09:29:44 UTC 2011


Author: bschmidt
Date: Sat Oct 22 09:29:44 2011
New Revision: 226626
URL: http://svn.freebsd.org/changeset/base/226626

Log:
  Fix bmiss notifications, events should be sent when NOT scanning.
  
  Approved by:	re (kib)

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

Modified: stable/9/sys/dev/iwn/if_iwn.c
==============================================================================
--- stable/9/sys/dev/iwn/if_iwn.c	Sat Oct 22 04:39:12 2011	(r226625)
+++ stable/9/sys/dev/iwn/if_iwn.c	Sat Oct 22 09:29:44 2011	(r226626)
@@ -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-stable-9 mailing list