[net80211] print out the channel type (eg a, b, g, n) when creating
an IBSS network.
This commit is contained in:
parent
c4d7f6ab97
commit
2b8b8ae8e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297731
@ -330,9 +330,10 @@ ieee80211_create_ibss(struct ieee80211vap* vap, struct ieee80211_channel *chan)
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user