Include secondary channel config in no-hw-channel-found message
This makes the error message easier to understand if the AP mode setup failure is caused by invalid secondary channel configuration while the primary channel is valid. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7a7e45ae68
commit
6b59e63f0e
1 changed files with 2 additions and 2 deletions
|
@ -994,9 +994,9 @@ static void hostapd_notify_bad_chans(struct hostapd_iface *iface)
|
|||
hostapd_logger(iface->bss[0], NULL,
|
||||
HOSTAPD_MODULE_IEEE80211,
|
||||
HOSTAPD_LEVEL_WARNING,
|
||||
"Configured channel (%d) or frequency (%d) not found from the channel list of the current mode (%d) %s",
|
||||
"Configured channel (%d) or frequency (%d) (secondary_channel=%d) not found from the channel list of the current mode (%d) %s",
|
||||
iface->conf->channel,
|
||||
iface->freq,
|
||||
iface->freq, iface->conf->secondary_channel,
|
||||
iface->current_mode->mode,
|
||||
hostapd_hw_mode_txt(iface->current_mode->mode));
|
||||
hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,
|
||||
|
|
Loading…
Reference in a new issue