summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/wifi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 205fb956..3e489995 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -492,8 +492,7 @@ static void scan_callback_hidden(int result,
}
out:
- connman_device_set_scanning(device, FALSE);
- connman_device_unref(device);
+ scan_callback(result, interface, user_data);
}
static gboolean autoscan_timeout(gpointer data)