Browse Source

wpa_priv: Print unsupported driver event name in debug log

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 9 years ago
parent
commit
d01136a06e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wpa_supplicant/wpa_priv.c

+ 2 - 2
wpa_supplicant/wpa_priv.c

@@ -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;
 	}
 }