summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 6a1ca36..76a1d7a 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1302,7 +1302,7 @@ static void scan_callback(int result, GSupplicantInterface *interface,
scanning = connman_device_get_scanning(device);
#if defined TIZEN_EXT
- if (scanning && !wifi->allow_full_scan)
+ if (scanning && wifi && !wifi->allow_full_scan)
#else
if (scanning)
#endif