Clarify hostapd error message on unsupported hw_mode value

This commit is contained in:
Jouni Malinen 2011-07-31 00:51:34 +03:00
parent d0df54caa9
commit 93ac240496

View file

@ -630,7 +630,8 @@ int hostapd_select_hw_mode(struct hostapd_iface *iface)
hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211, hostapd_logger(iface->bss[0], NULL, HOSTAPD_MODULE_IEEE80211,
HOSTAPD_LEVEL_WARNING, HOSTAPD_LEVEL_WARNING,
"Hardware does not support configured mode " "Hardware does not support configured mode "
"(%d)", (int) iface->conf->hw_mode); "(%d) (hw_mode in hostapd.conf)",
(int) iface->conf->hw_mode);
return -2; return -2;
} }