supplicant: fix wrong check on "EAP" signal arguments

The check is inverted.

Fixes: b83f07916a ('supplicant: large rework of wpa_supplicant handling')
This commit is contained in:
Beniamino Galvani
2025-07-07 09:55:14 +02:00
parent ce17284c3f
commit 50a400e16f

View File

@@ -3082,7 +3082,7 @@ _signal_handle(NMSupplicantInterface *self,
const char *status; const char *status;
const char *parameter; const char *parameter;
if (g_variant_is_of_type(parameters, G_VARIANT_TYPE("(ss)"))) if (!g_variant_is_of_type(parameters, G_VARIANT_TYPE("(ss)")))
return; return;
g_variant_get(parameters, "(&s&s)", &status, &parameter); g_variant_get(parameters, "(&s&s)", &status, &parameter);