[Tizen-submit] 8163: Changes to Tizen/connman

noreply at tizen.org noreply at tizen.org
Thu Aug 15 01:21:59 GMT 2013


Hi,
Zhang zhengguang have made the following changes to connman in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8163

  submit:       Tizen:build/connman(cleanup) -> Tizen


Message:
Submitter: Zhang zhengguang <zhengguang.zhang at intel.com>
Comments: Fix TZPC-1137
Git project: platform/upstream/connman
Tag: submit/tizen/20130815.011956
Commit: 62da345484bba7397974de47c646ea2dc8af3b91 technology: Do not send any rfkill to kernel after receiving one

State:   new        2013-08-14T18:18:39 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch
  0033-gsupplicant-Only-add-interface-when-wpa_supplicant-is.patch
  0034-technology-Check-hardblock-when-returning-from-offlin.patch
  0035-technology-Do-not-send-any-rfkill-to-kernel-after-rec.patch

spec files:
-----------
--- connman.spec
+++ connman.spec
@@ -4,7 +4,7 @@
 Name:           connman
 Version:        1.15
 Release:        1
-VCS:            platform/upstream/connman#submit/tizen/20130813.015237-0-ge18565fc70b9c985a683e08a4668cf97111e88fc
+VCS:            platform/upstream/connman#submit/tizen/20130815.011956-0-g62da345484bba7397974de47c646ea2dc8af3b91
 License:        GPL-2.0
 Summary:        Connection Manager
 Url:            http://connman.net
@@ -45,6 +45,10 @@
 Patch28:        0029-Upstream-technology-Do-not-activate-technology-if-ret.patch
 Patch29:        0030-Upstream-technology-Check-offline-mode-separately-whe.patch
 Patch30:        0031-Upstream-technology-Follow-external-rfkill-events-and.patch
+Patch31:        0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch
+Patch32:        0033-gsupplicant-Only-add-interface-when-wpa_supplicant-is.patch
+Patch33:        0034-technology-Check-hardblock-when-returning-from-offlin.patch
+Patch34:        0035-technology-Do-not-send-any-rfkill-to-kernel-after-rec.patch
 BuildRequires:  systemd
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(glib-2.0)
@@ -153,6 +157,14 @@
 %patch29 -p1
 # 0031-Upstream-technology-Follow-external-rfkill-events-and.patch
 %patch30 -p1
+# 0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch
+%patch31 -p1
+# 0033-gsupplicant-Only-add-interface-when-wpa_supplicant-is.patch
+%patch32 -p1
+# 0034-technology-Check-hardblock-when-returning-from-offlin.patch
+%patch33 -p1
+# 0035-technology-Do-not-send-any-rfkill-to-kernel-after-rec.patch
+%patch34 -p1
 cp %{SOURCE1001} .
 
 %build

other changes:
--------------

++++++ 0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch (new)
--- 0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch
+++ 0032-technology-Offlinemode-could-not-be-disabled-if-no-te.patch
@@ -0,0 +1,49 @@
+From: Jukka Rissanen <jukka.rissanen at linux.intel.com>
+Date: Fri, 7 Jun 2013 15:15:29 +0300
+Subject: technology: Offlinemode could not be disabled if no technology was
+ powered
+
+If all the technologies were powered off, then offline mode could
+not be disabled.
+
+Fixes BMC#26018
+
+Upstream commit id:b4f0e902a111e29451ff604bb00795363d0093aa
+---
+ src/technology.c |   14 +++++++++-----
+ 1 files changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/src/technology.c b/src/technology.c
+index 3b8f6a8..8addf1c 100644
+--- a/src/technology.c
++++ b/src/technology.c
+@@ -1506,7 +1506,7 @@ int __connman_technology_disabled(enum connman_service_type type)
+ int __connman_technology_set_offlinemode(connman_bool_t offlinemode)
+ {
+ 	GSList *list;
+-	int err = -EINVAL;
++	int err = -EINVAL, enabled_tech_count = 0;
+ 
+ 	if (global_offlinemode == offlinemode)
+ 		return 0;
+@@ -1530,12 +1530,16 @@ int __connman_technology_set_offlinemode(connman_bool_t offlinemode)

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list