wpa_priv: Print unsupported driver event name in debug log
authorJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 09:35:59 +0000 (12:35 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 5 Sep 2015 09:35:59 +0000 (12:35 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_priv.c

index c8335fc..d361bdb 100644 (file)
@@ -903,8 +903,8 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
                wpa_priv_send_ft_response(iface, data);
                break;
        default:
-               wpa_printf(MSG_DEBUG, "Unsupported driver event %d - TODO",
-                          event);
+               wpa_printf(MSG_DEBUG, "Unsupported driver event %d (%s) - TODO",
+                          event, event_to_string(event));
                break;
        }
 }