diff options
Diffstat (limited to 'plugins/wifi.c')
-rwxr-xr-x | plugins/wifi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 9362a71e..befc7e2a 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -4152,6 +4152,9 @@ static void disconnect_callback(int result, GSupplicantInterface *interface, for (list = iface_list; list; list = list->next) { wifi = list->data; + if (!wifi) + continue; + if (wifi->network == NULL && wifi->disconnecting == true) wifi->disconnecting = false; |