PERFORCE change 150899 for review

Sam Leffler sam at FreeBSD.org
Fri Oct 3 21:22:05 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=150899

Change 150899 by sam at 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.


More information about the p4-projects mailing list