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
1 changed files with 3 additions and 2 deletions

View 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) {