Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2005 01:47:42 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87164 for review
Message-ID:  <200511240147.jAO1lgoe029608@repoman.freebsd.org>

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

Change 87164 by sam@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



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