Date: Sat, 11 Oct 2003 22:13:51 -0700 (PDT) From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 39546 for review Message-ID: <200310120513.h9C5Dpgk079107@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=39546 Change 39546 by sam@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310120513.h9C5Dpgk079107>