]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Replace printf with wpa_printf debug message
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 14 Oct 2013 17:40:57 +0000 (20:40 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 14 Oct 2013 17:40:57 +0000 (20:40 +0300)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
src/ap/ieee802_1x.c

index 01fcf2c29bbbfa85dcfc992dd6412e1e1f9c1671..a90016c184f290687782ad539706b3a79a71b2dc 100644 (file)
@@ -96,8 +96,9 @@ void ieee802_1x_set_sta_authorized(struct hostapd_data *hapd,
        }
 
        if (res && errno != ENOENT) {
-               printf("Could not set station " MACSTR " flags for kernel "
-                      "driver (errno=%d).\n", MAC2STR(sta->addr), errno);
+               wpa_printf(MSG_DEBUG, "Could not set station " MACSTR
+                          " flags for kernel driver (errno=%d).",
+                          MAC2STR(sta->addr), errno);
        }
 
        if (authorized) {