From: Jouni Malinen Date: Sat, 3 Dec 2011 09:46:47 +0000 (+0200) Subject: hostapd: Show driver event names in debug log X-Git-Tag: aosp-jb-start~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26cd1a180e1d85919be24578664b45495207100;p=thirdparty%2Fhostap.git hostapd: Show driver event names in debug log Signed-hostap: Jouni Malinen --- diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c index 299357085..ba107de0d 100644 --- a/src/ap/drv_callbacks.c +++ b/src/ap/drv_callbacks.c @@ -470,6 +470,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, { struct hostapd_data *hapd = ctx; + wpa_dbg(hapd->msg_ctx, MSG_DEBUG, "Event %s (%d) received", + event_to_string(event), event); + switch (event) { case EVENT_MICHAEL_MIC_FAILURE: michael_mic_failure(hapd, data->michael_mic_failure.src, 1);