hostapd: Show driver event names in debug log
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d03e8d118c
commit
e26cd1a180
1 changed files with 3 additions and 0 deletions
|
@ -470,6 +470,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
|
||||||
{
|
{
|
||||||
struct hostapd_data *hapd = ctx;
|
struct hostapd_data *hapd = ctx;
|
||||||
|
|
||||||
|
wpa_dbg(hapd->msg_ctx, MSG_DEBUG, "Event %s (%d) received",
|
||||||
|
event_to_string(event), event);
|
||||||
|
|
||||||
switch (event) {
|
switch (event) {
|
||||||
case EVENT_MICHAEL_MIC_FAILURE:
|
case EVENT_MICHAEL_MIC_FAILURE:
|
||||||
michael_mic_failure(hapd, data->michael_mic_failure.src, 1);
|
michael_mic_failure(hapd, data->michael_mic_failure.src, 1);
|
||||||
|
|
Loading…
Reference in a new issue