fstools: update to the latest master branch
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 000-0002-Drop-logging-priority-for-handle_auth_cb.patch
1 From dc1b1c8db7905639be6f4de8173e2d97bf6df90d Mon Sep 17 00:00:00 2001
2 From: Jouni Malinen <j@w1.fi>
3 Date: Sun, 14 Oct 2018 20:03:55 +0300
4 Subject: Drop logging priority for handle_auth_cb no-STA-match messages
5
6 This message was printed and MSG_INFO level which would be more
7 reasonable for error cases where hostapd has accepted authentication.
8 However, this is not really an error case for the cases where
9 authentication was rejected (e.g., due to MAC ACL). Drop this to use
10 MSG_DEBUG level.
11
12 Signed-off-by: Jouni Malinen <j@w1.fi>
13 ---
14 src/ap/ieee802_11.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 --- a/src/ap/ieee802_11.c
18 +++ b/src/ap/ieee802_11.c
19 @@ -4018,7 +4018,8 @@ static void handle_auth_cb(struct hostap
20
21 sta = ap_get_sta(hapd, mgmt->da);
22 if (!sta) {
23 - wpa_printf(MSG_INFO, "handle_auth_cb: STA " MACSTR " not found",
24 + wpa_printf(MSG_DEBUG, "handle_auth_cb: STA " MACSTR
25 + " not found",
26 MAC2STR(mgmt->da));
27 return;
28 }