Revert "wifi: Fixed issue with device reference count" 47/153147/1
authortaesub kim <taesub.kim@samsung.com>
Thu, 28 Sep 2017 04:14:26 +0000 (04:14 +0000)
committertaesub kim <taesub.kim@samsung.com>
Thu, 28 Sep 2017 04:14:26 +0000 (04:14 +0000)
This reverts commit 1141e83b5a00d11bada4e07e8203770b3d36939b.

Change-Id: I0abf48d5c45cdf16f33345fb7432ceaab4051a11

plugins/wifi.c

index 5a85785..ce53233 100755 (executable)
@@ -1323,11 +1323,7 @@ static void scan_callback(int result, GSupplicantInterface *interface,
         * unreferenced the device, obviating the need to do it here.
         */
 
-#if defined TIZEN_EXT
-       if (scanning && wifi && !wifi->allow_full_scan)
-#else
        if (scanning)
-#endif
                connman_device_unref(device);
 
 #if defined TIZEN_EXT