[connman]: @fix WGID 166257 SVACE Issue 43/106443/1 accepted/tizen/common/20161222.131130 accepted/tizen/ivi/20161223.095029 accepted/tizen/mobile/20161223.094936 accepted/tizen/tv/20161223.094951 accepted/tizen/wearable/20161223.095006 submit/tizen/20161222.015926
authorManeesh Jain <maneesh.jain@samsung.com>
Wed, 21 Dec 2016 13:39:31 +0000 (19:09 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Wed, 21 Dec 2016 13:39:31 +0000 (19:09 +0530)
Change-Id: Ib9186009728b786bc1c5c848a529e67af4752a1e
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
plugins/wifi.c

index 6a1ca36..76a1d7a 100755 (executable)
@@ -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