diff options
author | cheoleun moon <chleun.moon@samsung.com> | 2020-05-25 02:17:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2020-05-25 02:17:01 +0000 |
commit | 1ca04d028034566c81abf7500c5cb45d2fc4ac11 (patch) | |
tree | 6ef246ece56679bc39b2b459f974520c34401ea8 | |
parent | 938a4877440a0ffe109e4a5d9d86e5644642b9f3 (diff) | |
parent | b4dc158bfcffab6df89d9c7bfaa5bd0c53beb412 (diff) | |
download | connman-1ca04d028034566c81abf7500c5cb45d2fc4ac11.tar.gz connman-1ca04d028034566c81abf7500c5cb45d2fc4ac11.tar.bz2 connman-1ca04d028034566c81abf7500c5cb45d2fc4ac11.zip |
Merge "Block all extra scans caused by ConnMan" into tizen
-rwxr-xr-x | plugins/wifi.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index cbc6b152..1610211b 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -2395,6 +2395,18 @@ static void setup_autoscan(struct wifi_data *wifi) wifi->autoscan = parse_autoscan_params(AUTOSCAN_EXPONENTIAL); return; } +#if defined TIZEN_EXT + else { + if (wifi->autoscan) { + g_free(wifi->autoscan); + wifi->autoscan = NULL; + } + + DBG("BackgroundScanning is disabled"); + + return; + } +#endif /* * On the contrary, if BackgroundScanning is disabled, update autoscan |