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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to