PERFORCE change 39546 for review
Sam Leffler
sam at FreeBSD.org
Sat Oct 11 22:13:52 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=39546
Change 39546 by sam at sam_ebb on 2003/10/11 22:13:16
o fix bssid printed in debug msg
o move comment to be consistent with nearby code
Affected files ...
.. //depot/projects/netperf/sys/net80211/ieee80211_input.c#8 edit
Differences ...
==== //depot/projects/netperf/sys/net80211/ieee80211_input.c#8 (text+ko) ====
@@ -133,10 +133,10 @@
switch (ic->ic_opmode) {
case IEEE80211_M_STA:
if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_bssid)) {
+ /* not interested in */
IEEE80211_DPRINTF2(("%s: discard frame from "
"bss %s\n", __func__,
ether_sprintf(wh->i_addr2)));
- /* not interested in */
ic->ic_stats.is_rx_wrongbss++;
goto out;
}
@@ -151,8 +151,9 @@
if (!IEEE80211_ADDR_EQ(bssid, ic->ic_bss->ni_bssid) &&
!IEEE80211_ADDR_EQ(bssid, ifp->if_broadcastaddr)) {
/* not interested in */
- IEEE80211_DPRINTF2(("%s: other bss %s\n",
- __func__, ether_sprintf(wh->i_addr3)));
+ IEEE80211_DPRINTF2(("%s: discard frame from "
+ "bss %s\n", __func__,
+ ether_sprintf(bssid)));
ic->ic_stats.is_rx_wrongbss++;
goto out;
}
More information about the p4-projects
mailing list