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:
@@ -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, ¶meter);
|
g_variant_get(parameters, "(&s&s)", &status, ¶meter);
|
||||||
|
Reference in New Issue
Block a user