wifi: Don't increase device ref count on full scan after specific scan 09/153309/1
authorSaurav Babu <saurav.babu@samsung.com>
Thu, 28 Sep 2017 08:34:31 +0000 (14:04 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Thu, 28 Sep 2017 08:34:31 +0000 (14:04 +0530)
commitdec2f3c704a41e9eba51673d6723c7c19483c25d
tree8169b6e66bcff84cf326b312a173371c0785acf3
parent5a96125615ae3832ae04e30b2fe34abaed5e4fc9
wifi: Don't increase device ref count on full scan after specific scan

Earlier full scan was done using throw_wifi_scan() which increases
device reference count. As we need to perform full scan then we should
directly call g_supplicant_interface_scan() without increasing the
device ref count.

Change-Id: Icb595ca714d5bf03ed0a071fcd987f9bc1b736dc
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
plugins/wifi.c