nl80211: Change AKM suite limit from warning to debug print
Commitdd74ddd0df
("nl80211: Handle AKM suite selectors for AP configuration") added warning log message "nl80211: Not enough room for all AKM suites (num_suites=X > NL80211_MAX_NR_AKM_SUITES)" which in some cases fills logs every 3 seconds, so fix this by increasing the log message level to debug. Reported-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Ref: https://patchwork.ozlabs.org/project/openwrt/patch/20200504130757.12736-1-ynezz@true.cz/#2429246 Fixes:dd74ddd0df
("nl80211: Handle AKM suite selectors for AP configuration") Signed-off-by: Petr Štetiar <ynezz@true.cz> Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
This commit is contained in:
parent
72e10af9ca
commit
3e1a130107
1 changed files with 1 additions and 1 deletions
|
@ -4332,7 +4332,7 @@ static int wpa_driver_nl80211_set_ap(void *priv,
|
||||||
num_suites = wpa_key_mgmt_to_suites(params->key_mgmt_suites,
|
num_suites = wpa_key_mgmt_to_suites(params->key_mgmt_suites,
|
||||||
suites, ARRAY_SIZE(suites));
|
suites, ARRAY_SIZE(suites));
|
||||||
if (num_suites > NL80211_MAX_NR_AKM_SUITES)
|
if (num_suites > NL80211_MAX_NR_AKM_SUITES)
|
||||||
wpa_printf(MSG_WARNING,
|
wpa_printf(MSG_DEBUG,
|
||||||
"nl80211: Not enough room for all AKM suites (num_suites=%d > NL80211_MAX_NR_AKM_SUITES)",
|
"nl80211: Not enough room for all AKM suites (num_suites=%d > NL80211_MAX_NR_AKM_SUITES)",
|
||||||
num_suites);
|
num_suites);
|
||||||
else if (num_suites &&
|
else if (num_suites &&
|
||||||
|
|
Loading…
Reference in a new issue