projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "supported OWE Transition mode" into tizen
[platform/upstream/connman.git]
/
plugins
/
wifi.c
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
0b75c77
..
7f26417
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;
}
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
/*
* On the contrary, if BackgroundScanning is disabled, update autoscan