- Add patch to fix service detection on phones

This commit is contained in:
Bastien Nocera 2009-08-11 08:52:18 +00:00
parent fd62b915df
commit 400d59b381
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 4dee9abe1d000d0fc266924949ea7b97e025d7f7 Mon Sep 17 00:00:00 2001
From: Dan Williams <dcbw@redhat.com>
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

View File

@ -15,7 +15,7 @@ Name: NetworkManager
Summary: Network connection manager and user applications Summary: Network connection manager and user applications
Epoch: 1 Epoch: 1
Version: 0.7.995 Version: 0.7.995
Release: 1%{snapshot}%{?dist} Release: 2%{snapshot}%{?dist}
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/ 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 Source2: nm-system-settings.conf
Patch1: nm-applet-internal-buildfixes.patch Patch1: nm-applet-internal-buildfixes.patch
Patch2: explain-dns1-dns2.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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
PreReq: chkconfig PreReq: chkconfig
@ -145,6 +146,7 @@ tar -xjf %{SOURCE1}
%patch1 -p1 -b .buildfix %patch1 -p1 -b .buildfix
%patch2 -p1 -b .explain-dns1-dns2 %patch2 -p1 -b .explain-dns1-dns2
%patch3 -p1 -b .bt-detection
%build %build
@ -323,6 +325,9 @@ fi
%{_datadir}/gtk-doc/html/libnm-util/* %{_datadir}/gtk-doc/html/libnm-util/*
%changelog %changelog
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 0.7.995-2.git20090804
- Add patch to fix service detection on phones
* Tue Aug 4 2009 Dan Williams <dcbw@redhat.com> - 0.7.995-1.git20090804 * Tue Aug 4 2009 Dan Williams <dcbw@redhat.com> - 0.7.995-1.git20090804
- nm: IPv6 support for manual & router-advertisement modes - nm: IPv6 support for manual & router-advertisement modes