Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 18:21:41 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 70530 for review
Message-ID:  <200502071821.j17ILfx7031460@repoman.freebsd.org>

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

Change 70530 by sam@sam_ebb on 2005/02/07 18:21:08

	correct mis-merge

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_input.c#4 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_input.c#4 (text+ko) ====

@@ -2253,6 +2253,14 @@
 		IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE);
 		IEEE80211_VERIFY_ELEMENT(ssid, IEEE80211_NWID_LEN);
 		IEEE80211_VERIFY_SSID(vap->iv_bss, ssid);
+		if ((ic->ic_flags & IEEE80211_F_HIDESSID) && ssid[1] == 0) {
+			IEEE80211_DISCARD(ic, IEEE80211_MSG_INPUT,
+			    wh, ieee80211_mgt_subtype_name[subtype >>
+				IEEE80211_FC0_SUBTYPE_SHIFT],
+			    "%s", "no ssid with ssid suppression enabled");
+			ic->ic_stats.is_rx_ssidmismatch++; /*XXX*/
+			return;
+		}
 
 		if (ni == vap->iv_bss) {
 			if (vap->iv_opmode == IEEE80211_M_IBSS) {



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