projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85725fd
)
wifi: Only consider identifiers starting with 'wifi_'
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 31 Oct 2011 13:31:34 +0000
(15:31 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 7 Nov 2011 16:40:07 +0000
(17:40 +0100)
plugins/wifi.c
patch
|
blob
|
history
diff --git
a/plugins/wifi.c
b/plugins/wifi.c
index
f1b6c11
..
f7f5216
100644
(file)
--- a/
plugins/wifi.c
+++ b/
plugins/wifi.c
@@
-374,6
+374,9
@@
static int get_latest_connections(int max_ssids,
services = connman_storage_get_services();
for (i = 0; services && services[i]; i++) {
+ if (strncmp(services[i], "wifi_", 5) != 0)
+ continue;
+
keyfile = connman_storage_load_service(services[i]);
str = g_key_file_get_string(keyfile,