From 797227a632d958b7fcf537e308a65c3f5cdefd75 Mon Sep 17 00:00:00 2001 From: taesub kim Date: Thu, 28 Sep 2017 04:14:26 +0000 Subject: Revert "wifi: Fixed issue with device reference count" This reverts commit 1141e83b5a00d11bada4e07e8203770b3d36939b. Change-Id: I0abf48d5c45cdf16f33345fb7432ceaab4051a11 --- plugins/wifi.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/wifi.c') diff --git a/plugins/wifi.c b/plugins/wifi.c index 5a85785d..ce532336 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -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 -- cgit v1.2.3