projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0828a
)
Only add network name if it is actually present
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 26 Mar 2009 21:34:25 +0000
(14:34 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 26 Mar 2009 21:34:25 +0000
(14:34 -0700)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
d5b4c34
..
b2763fe
100644
(file)
--- a/
plugins/supplicant.c
+++ b/
plugins/supplicant.c
@@
-1038,7
+1038,8
@@
static void properties_reply(DBusPendingCall *call, void *user_data)
}
}
- connman_network_set_string(network, "Name", result.name);
+ if (result.name != NULL && result.name[0] != '\0')
+ connman_network_set_string(network, "Name", result.name);
connman_network_set_blob(network, "WiFi.SSID",
result.ssid, result.ssid_len);