Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2008 21:22:04 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 150899 for review
Message-ID:  <200810032122.m93LM4cf090325@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150899

Change 150899 by sam@sam_ebb on 2008/10/03 21:21:28

	honor IEEE80211_CLONE_NOBEACONS for any vap, not just sta vaps

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211.c#51 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211.c#51 (text+ko) ====

@@ -350,11 +350,6 @@
 	vap->iv_opmode = opmode;
 	vap->iv_caps |= ieee80211_opcap[opmode];
 	switch (opmode) {
-	case IEEE80211_M_STA:
-		/* auto-enable s/w beacon miss support */
-		if (flags & IEEE80211_CLONE_NOBEACONS)
-			vap->iv_flags_ext |= IEEE80211_FEXT_SWBMISS;
-		break;
 	case IEEE80211_M_WDS:
 		/*
 		 * WDS links must specify the bssid of the far end.
@@ -370,6 +365,9 @@
 			vap->iv_flags_ext |= IEEE80211_FEXT_WDSLEGACY;
 		break;
 	}
+	/* auto-enable s/w beacon miss support */
+	if (flags & IEEE80211_CLONE_NOBEACONS)
+		vap->iv_flags_ext |= IEEE80211_FEXT_SWBMISS;
 	/*
 	 * Enable various functionality by default if we're
 	 * capable; the driver can override us if it knows better.



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