From c461cb924462f6141585caff9bc68318f66d929c Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 22 Jul 2005 17:13:44 +0000 Subject: [PATCH] include device name in discard msgs --- sys/net80211/ieee80211_input.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index f804519caafe..3b4f4779f219 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -2789,7 +2789,8 @@ ieee80211_discard_frame(struct ieee80211com *ic, { va_list ap; - printf("[%s] discard ", ether_sprintf(ieee80211_getbssid(ic, wh))); + printf("[%s:%s] discard ", ic->ic_ifp->if_xname, + ether_sprintf(ieee80211_getbssid(ic, wh))); if (type != NULL) printf("%s frame, ", type); else @@ -2807,7 +2808,8 @@ ieee80211_discard_ie(struct ieee80211com *ic, { va_list ap; - printf("[%s] discard ", ether_sprintf(ieee80211_getbssid(ic, wh))); + printf("[%s:%s] discard ", ic->ic_ifp->if_xname, + ether_sprintf(ieee80211_getbssid(ic, wh))); if (type != NULL) printf("%s information element, ", type); else