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:
dc49d7e
)
If the SSID is not provided then declare it as hidden network
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Jul 2009 07:49:57 +0000
(09:49 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 14 Jul 2009 07:49:57 +0000
(09:49 +0200)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
8f7b759
..
4b906a6
100644
(file)
--- a/
plugins/supplicant.c
+++ b/
plugins/supplicant.c
@@
-948,6
+948,11
@@
static char *build_group(const char *addr, const char *name,
if (str == NULL)
return NULL;
+ if (ssid == NULL) {
+ g_string_append_printf(str, "hidden_%s", addr);
+ goto done;
+ }
+
for (i = 0; special_ssid[i].name; i++) {
if (g_strcmp0(special_ssid[i].name, name) == 0) {
if (special_ssid[i].value == NULL)