From: Dmitry Shmidt Date: Mon, 14 Oct 2013 17:40:57 +0000 (+0300) Subject: Replace printf with wpa_printf debug message X-Git-Tag: hostap_2_1~865 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d110dca319fec80dffb6d50691e3ed559b4911;p=thirdparty%2Fhostap.git Replace printf with wpa_printf debug message Signed-off-by: Dmitry Shmidt --- diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c index 01fcf2c29..a90016c18 100644 --- a/src/ap/ieee802_1x.c +++ b/src/ap/ieee802_1x.c @@ -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) {