PERFORCE change 87164 for review

Sam Leffler sam at FreeBSD.org
Wed Nov 23 17:47:54 PST 2005


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

Change 87164 by sam at sam_ebb on 2005/11/24 01:47:36

	change assertion so we don't panic in monitor mode

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_node.c#67 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_node.c#67 (text+ko) ====

@@ -1720,9 +1720,7 @@
 	    "[%s] station with aid %d leaves\n",
 	    ether_sprintf(ni->ni_macaddr), IEEE80211_NODE_AID(ni));
 
-	KASSERT(ic->ic_opmode == IEEE80211_M_HOSTAP ||
-		ic->ic_opmode == IEEE80211_M_IBSS ||
-		ic->ic_opmode == IEEE80211_M_AHDEMO,
+	KASSERT(ic->ic_opmode != IEEE80211_M_STA,
 		("unexpected operating mode %u", ic->ic_opmode));
 	/*
 	 * If node wasn't previously associated all


More information about the p4-projects mailing list