Replace printf with wpa_printf debug message

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt 2013-10-14 20:40:57 +03:00 committed by Jouni Malinen
parent b72e14e599
commit 24d110dca3

View file

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