summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 2965b623364..46efb330f64 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_output.c,v 1.22 2006/11/03 19:02:08 damien Exp $ */
+/* $OpenBSD: ieee80211_output.c,v 1.23 2006/12/25 19:24:26 reyk Exp $ */
/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
@@ -179,13 +179,15 @@ ieee80211_mgmt_output(struct ifnet *ifp, struct ieee80211_node *ni,
#endif
(type & IEEE80211_FC0_SUBTYPE_MASK) !=
IEEE80211_FC0_SUBTYPE_PROBE_RESP)
- printf("%s: sending %s to %s on channel %u\n",
+ printf("%s: sending %s to %s on channel %u mode %s\n",
ifp->if_xname,
ieee80211_mgt_subtype_name[
(type & IEEE80211_FC0_SUBTYPE_MASK)
>> IEEE80211_FC0_SUBTYPE_SHIFT],
ether_sprintf(ni->ni_macaddr),
- ieee80211_chan2ieee(ic, ni->ni_chan));
+ ieee80211_chan2ieee(ic, ni->ni_chan),
+ ieee80211_phymode_name[
+ ieee80211_chan2mode(ic, ni->ni_chan)]);
}
IF_ENQUEUE(&ic->ic_mgtq, m);