Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2011 09:43:35 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r226628 - stable/8/sys/dev/iwn
Message-ID:  <201110220943.p9M9hZMk071387@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110220943.p9M9hZMk071387>