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:
cf5d6ff
)
Fix issue with switching between hidden WiFi networks
author
Martin Xu
<martin.xu@intel.com>
Thu, 10 Sep 2009 04:58:07 +0000
(12:58 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 13 Sep 2009 15:14:52 +0000
(17:14 +0200)
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
932e1f2
..
a32b5ef
100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-405,7
+405,8
@@
struct connman_network *connman_network_create(const char *identifier,
//temp = connman_dbus_encode_string(identifier);
if (identifier == NULL) {
//temp = connman_dbus_encode_string(identifier);
if (identifier == NULL) {
- temp = g_strdup("hidden");
+ static unsigned int hidden_counter;
+ temp = g_strdup_printf("hidden_%d", hidden_counter++);
network->hidden = TRUE;
} else
temp = g_strdup(identifier);
network->hidden = TRUE;
} else
temp = g_strdup(identifier);