From 400d59b381e66057cae5049ce200a729ec8c6f77 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 11 Aug 2009 08:52:18 +0000 Subject: [PATCH] - Add patch to fix service detection on phones --- ...-device-capability-checking-need-NAP.patch | 28 +++++++++++++++++++ NetworkManager.spec | 7 ++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-bluetooth-fix-device-capability-checking-need-NAP.patch diff --git a/0001-bluetooth-fix-device-capability-checking-need-NAP.patch b/0001-bluetooth-fix-device-capability-checking-need-NAP.patch new file mode 100644 index 0000000..45a78da --- /dev/null +++ b/0001-bluetooth-fix-device-capability-checking-need-NAP.patch @@ -0,0 +1,28 @@ +From 4dee9abe1d000d0fc266924949ea7b97e025d7f7 Mon Sep 17 00:00:00 2001 +From: Dan Williams +Date: Fri, 7 Aug 2009 10:01:50 -0500 +Subject: [PATCH 1/3] bluetooth: fix device capability checking (need NAP not PANU) + +The remote device (which is what we're checking) needs to provide +the NAP service (meaning it can bridge packets to the cellular +network), not the PANU service. +--- + src/gnome-bluetooth/network-manager-applet.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/gnome-bluetooth/network-manager-applet.c b/src/gnome-bluetooth/network-manager-applet.c +index 3cdd5b5..58f5b9c 100644 +--- a/src/gnome-bluetooth/network-manager-applet.c ++++ b/src/gnome-bluetooth/network-manager-applet.c +@@ -45,7 +45,7 @@ has_config_widget (const char *bdaddr, const char **uuids) + + for (i = 0; uuids && uuids[i] != NULL; i++) { + g_message ("has_config_widget %s %s", bdaddr, uuids[i]); +- if (g_str_equal (uuids[i], "PANU")) ++ if (g_str_equal (uuids[i], "NAP")) + return TRUE; + } + return FALSE; +-- +1.6.2.5 + diff --git a/NetworkManager.spec b/NetworkManager.spec index ce544dc..a0621a5 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -15,7 +15,7 @@ Name: NetworkManager Summary: Network connection manager and user applications Epoch: 1 Version: 0.7.995 -Release: 1%{snapshot}%{?dist} +Release: 2%{snapshot}%{?dist} Group: System Environment/Base License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ @@ -25,6 +25,7 @@ Source1: network-manager-applet-%{version}%{applet_snapshot}.tar.bz2 Source2: nm-system-settings.conf Patch1: nm-applet-internal-buildfixes.patch Patch2: explain-dns1-dns2.patch +Patch3: 0001-bluetooth-fix-device-capability-checking-need-NAP.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) PreReq: chkconfig @@ -145,6 +146,7 @@ tar -xjf %{SOURCE1} %patch1 -p1 -b .buildfix %patch2 -p1 -b .explain-dns1-dns2 +%patch3 -p1 -b .bt-detection %build @@ -323,6 +325,9 @@ fi %{_datadir}/gtk-doc/html/libnm-util/* %changelog +* Tue Aug 11 2009 Bastien Nocera 0.7.995-2.git20090804 +- Add patch to fix service detection on phones + * Tue Aug 4 2009 Dan Williams - 0.7.995-1.git20090804 - nm: IPv6 support for manual & router-advertisement modes