]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Change AKM suite limit from warning to debug print
authorPetr Štetiar <ynezz@true.cz>
Mon, 11 May 2020 08:16:51 +0000 (10:16 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 May 2020 12:51:11 +0000 (15:51 +0300)
Commit dd74ddd0dff6 ("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: dd74ddd0dff6 ("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>
src/drivers/driver_nl80211.c

index bb0768c1cb3481e0b1a81b3520e57503fa8ee9bd..2790346f4bea1c221752494fbf79e2f527293bec 100644 (file)
@@ -4332,7 +4332,7 @@ static int wpa_driver_nl80211_set_ap(void *priv,
        num_suites = wpa_key_mgmt_to_suites(params->key_mgmt_suites,
                                            suites, ARRAY_SIZE(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)",
                           num_suites);
        else if (num_suites &&