svn commit: r297731 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Sat Apr 9 04:57:26 UTC 2016
Author: adrian
Date: Sat Apr 9 04:57:25 2016
New Revision: 297731
URL: https://svnweb.freebsd.org/changeset/base/297731
Log:
[net80211] print out the channel type (eg a, b, g, n) when creating
an IBSS network.
Modified:
head/sys/net80211/ieee80211_node.c
Modified: head/sys/net80211/ieee80211_node.c
==============================================================================
--- head/sys/net80211/ieee80211_node.c Sat Apr 9 01:02:17 2016 (r297730)
+++ head/sys/net80211/ieee80211_node.c Sat Apr 9 04:57:25 2016 (r297731)
@@ -330,9 +330,10 @@ ieee80211_create_ibss(struct ieee80211va
struct ieee80211_node *ni;
IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
- "%s: creating %s on channel %u\n", __func__,
+ "%s: creating %s on channel %u%c\n", __func__,
ieee80211_opmode_name[vap->iv_opmode],
- ieee80211_chan2ieee(ic, chan));
+ ieee80211_chan2ieee(ic, chan),
+ ieee80211_channel_type_char(chan));
ni = ieee80211_alloc_node(&ic->ic_sta, vap, vap->iv_myaddr);
if (ni == NULL) {
More information about the svn-src-all
mailing list