projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
938a487
)
Merge "Block all extra scans caused by ConnMan" into tizen
author
cheoleun moon
<chleun.moon@samsung.com>
Mon, 25 May 2020 02:17:01 +0000
(
02:17
+0000)
committer
Gerrit Code Review
<gerrit@review>
Mon, 25 May 2020 02:17:01 +0000
(
02:17
+0000)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
cbc6b15
..
1610211
100755
(executable)
--- 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