summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2017-09-28 04:14:26 +0000
committertaesub kim <taesub.kim@samsung.com>2017-09-28 04:14:26 +0000
commit797227a632d958b7fcf537e308a65c3f5cdefd75 (patch)
tree4824486a70931f802704805bce092fc2680c0c97
parent1141e83b5a00d11bada4e07e8203770b3d36939b (diff)
downloadconnman-797227a632d958b7fcf537e308a65c3f5cdefd75.tar.gz
connman-797227a632d958b7fcf537e308a65c3f5cdefd75.tar.bz2
connman-797227a632d958b7fcf537e308a65c3f5cdefd75.zip
Revert "wifi: Fixed issue with device reference count"
This reverts commit 1141e83b5a00d11bada4e07e8203770b3d36939b. Change-Id: I0abf48d5c45cdf16f33345fb7432ceaab4051a11
-rwxr-xr-xplugins/wifi.c4
1 files changed, 0 insertions, 4 deletions
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