X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=net80211%2Fieee80211_scan.c;fp=net80211%2Fieee80211_scan.c;h=20eccf9409fe92d2172a37bc238869bfd8ef6767;hb=e4791554973fc073d9422c738901cdaaa73c84a9;hp=70e69e449f1fcbe17da4638760238d3b97c3114c;hpb=77d9f966c07c373b92f775191951516c616df31a;p=madwifi%2F.git diff --git a/net80211/ieee80211_scan.c b/net80211/ieee80211_scan.c index 70e69e4..20eccf9 100644 --- a/net80211/ieee80211_scan.c +++ b/net80211/ieee80211_scan.c @@ -799,16 +799,16 @@ dump_probe_beacon(u_int8_t subtype, int isnew, const struct ieee80211_scanparams *sp) { - printf("[%s] %s%s on chan %u (bss chan %u) ", - ether_sprintf(mac), isnew ? "new " : "", + printf("[" MAC_FMT "] %s%s on chan %u (bss chan %u) ", + MAC_ADDR(mac), isnew ? "new " : "", ieee80211_mgt_subtype_name[subtype >> IEEE80211_FC0_SUBTYPE_SHIFT], sp->chan, sp->bchan); ieee80211_print_essid(sp->ssid + 2, sp->ssid[1]); printf("\n"); if (isnew) { - printf("[%s] caps 0x%x bintval %u erp 0x%x", - ether_sprintf(mac), sp->capinfo, sp->bintval, sp->erp); + printf("[" MAC_FMT "] caps 0x%x bintval %u erp 0x%x", + MAC_ADDR(mac), sp->capinfo, sp->bintval, sp->erp); if (sp->country != NULL) { #ifdef __FreeBSD__ printf(" country info %*D",