* [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type display issue
@ 2011-08-31 6:47 Dongxiao Xu
2011-08-31 6:47 ` [PATCH 1/1] connman-gnome: Fix WiFi security " Dongxiao Xu
2011-08-31 18:45 ` [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type " Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Dongxiao Xu @ 2011-08-31 6:47 UTC (permalink / raw)
To: openembedded-core
Hi Saul,
This commit fixes the display issue of WiFi security type in connman-gnome, please help to review and pull.
Thanks,
Dongxiao
The following changes since commit 3f4017e36410a6435f50183e76b9adb1db1f4126:
gdb: Fix broken source directory (2011-08-31 00:49:05 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/bugfix
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix
Dongxiao Xu (1):
connman-gnome: Fix WiFi security display issue
.../connman/connman-gnome/security-type.patch | 41 ++++++++++++++++++++
.../connman/connman-gnome_0.5.bb | 5 +-
2 files changed, 44 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-connectivity/connman/connman-gnome/security-type.patch
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] connman-gnome: Fix WiFi security display issue
2011-08-31 6:47 [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type display issue Dongxiao Xu
@ 2011-08-31 6:47 ` Dongxiao Xu
2011-08-31 18:45 ` [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type " Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Dongxiao Xu @ 2011-08-31 6:47 UTC (permalink / raw)
To: openembedded-core
Latest connman-0.75 change the WiFi security type, causing the
incompatibility of connman-gnome. Fix connman-gnome accordingly to show
the correct security informtion.
[YOCTO #1343]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
.../connman/connman-gnome/security-type.patch | 41 ++++++++++++++++++++
.../connman/connman-gnome_0.5.bb | 5 +-
2 files changed, 44 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-connectivity/connman/connman-gnome/security-type.patch
diff --git a/meta/recipes-connectivity/connman/connman-gnome/security-type.patch b/meta/recipes-connectivity/connman/connman-gnome/security-type.patch
new file mode 100644
index 0000000..a75d696
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-gnome/security-type.patch
@@ -0,0 +1,41 @@
+From ec36df9d1fbb6dcbf0d1e79245ffe213049ecd5a Mon Sep 17 00:00:00 2001
+From: Dongxiao Xu <dongxiao.xu@intel.com>
+Date: Wed, 3 Aug 2011 14:33:07 +0800
+Subject: [PATCH] connman-dbus: fix security type mismatch
+
+Latest connman change the Security type to be array{String}, fix
+connman-gnome accordingly.
+
+Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
+---
+ common/connman-dbus.c | 5 +++--
+ 1 files changed, 3 insertions(+), 2 deletions(-)
+
+Upstream-Status: Pending
+
+diff --git a/common/connman-dbus.c b/common/connman-dbus.c
+index 0f4e1db..0ac8ed5 100644
+--- a/common/connman-dbus.c
++++ b/common/connman-dbus.c
+@@ -384,7 +384,8 @@ static void service_changed(DBusGProxy *proxy, const char *property,
+ gtk_tree_store_set(store, &iter,
+ CONNMAN_COLUMN_FAVORITE, favorite, -1);
+ } else if (g_str_equal(property, "Security") == TRUE) {
+- const char *security = value ? g_value_get_string(value) : NULL;
++ const char **array = value ? g_value_get_boxed(value) : NULL;
++ const char *security = g_strjoinv(" ", array);
+ gtk_tree_store_set(store, &iter,
+ CONNMAN_COLUMN_SECURITY, security,
+ -1);
+@@ -487,7 +488,7 @@ static void service_properties(DBusGProxy *proxy, GHashTable *hash,
+ strength = value ? g_value_get_uchar(value) : 0;
+
+ value = g_hash_table_lookup(hash, "Security");
+- security = value ? g_value_get_string(value) : NULL;
++ security = value ? g_strjoinv(" ", g_value_get_boxed(value)) : NULL;
+
+ value = g_hash_table_lookup(hash, "PassPhrase");
+ passphrase = value ? g_value_get_string(value) : NULL;
+--
+1.7.1
+
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
index 416fa4b..9c78186 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
@@ -8,11 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
DEPENDS = "gtk+ dbus"
-PR = "r6"
+PR = "r7"
SRCREV = "78d3c39db6f3f7977b466305110faa8ca5f74ec8"
SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman-gnome.git;protocol=git \
- file://3g.patch"
+ file://3g.patch \
+ file://security-type.patch"
S = "${WORKDIR}/git"
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type display issue
2011-08-31 6:47 [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type display issue Dongxiao Xu
2011-08-31 6:47 ` [PATCH 1/1] connman-gnome: Fix WiFi security " Dongxiao Xu
@ 2011-08-31 18:45 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-31 18:45 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-08-31 at 14:47 +0800, Dongxiao Xu wrote:
> Hi Saul,
>
> This commit fixes the display issue of WiFi security type in connman-gnome, please help to review and pull.
>
> Thanks,
> Dongxiao
>
> The following changes since commit 3f4017e36410a6435f50183e76b9adb1db1f4126:
>
> gdb: Fix broken source directory (2011-08-31 00:49:05 +0100)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib dxu4/bugfix
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/bugfix
>
> Dongxiao Xu (1):
> connman-gnome: Fix WiFi security display issue
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-31 18:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 6:47 [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type display issue Dongxiao Xu
2011-08-31 6:47 ` [PATCH 1/1] connman-gnome: Fix WiFi security " Dongxiao Xu
2011-08-31 18:45 ` [PATCH 0/1][PULL] connman-gnome: Fix WiFi security type " Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox