400d59b
From 4dee9abe1d000d0fc266924949ea7b97e025d7f7 Mon Sep 17 00:00:00 2001
400d59b
From: Dan Williams <dcbw@redhat.com>
400d59b
Date: Fri, 7 Aug 2009 10:01:50 -0500
400d59b
Subject: [PATCH 1/3] bluetooth: fix device capability checking (need NAP not PANU)
400d59b
400d59b
The remote device (which is what we're checking) needs to provide
400d59b
the NAP service (meaning it can bridge packets to the cellular
400d59b
network), not the PANU service.
400d59b
---
400d59b
 src/gnome-bluetooth/network-manager-applet.c |    2 +-
400d59b
 1 files changed, 1 insertions(+), 1 deletions(-)
400d59b
400d59b
diff --git a/src/gnome-bluetooth/network-manager-applet.c b/src/gnome-bluetooth/network-manager-applet.c
400d59b
index 3cdd5b5..58f5b9c 100644
400d59b
--- a/src/gnome-bluetooth/network-manager-applet.c
400d59b
+++ b/src/gnome-bluetooth/network-manager-applet.c
400d59b
@@ -45,7 +45,7 @@ has_config_widget (const char *bdaddr, const char **uuids)
400d59b
 
400d59b
 	for (i = 0; uuids && uuids[i] != NULL; i++) {
400d59b
 		g_message ("has_config_widget %s %s", bdaddr, uuids[i]);
400d59b
-		if (g_str_equal (uuids[i], "PANU"))
400d59b
+		if (g_str_equal (uuids[i], "NAP"))
400d59b
 			return TRUE;
400d59b
 	}
400d59b
 	return FALSE;
400d59b
-- 
400d59b
1.6.2.5
400d59b