rpms/gnome-bluetooth/devel 0001-Fix-pairing-with-devices-that-require-PIN-entry.patch, NONE, 1.1 gnome-bluetooth.spec, 1.90, 1.91

Bastien Nocera hadess at fedoraproject.org
Fri Sep 11 14:03:00 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gnome-bluetooth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5791

Modified Files:
	gnome-bluetooth.spec 
Added Files:
	0001-Fix-pairing-with-devices-that-require-PIN-entry.patch 
Log Message:
* Fri Sep 11 2009 Bastien Nocera <bnocera at redhat.com> 2.27.90-3
- Fix possible pairing failure


0001-Fix-pairing-with-devices-that-require-PIN-entry.patch:
 main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE 0001-Fix-pairing-with-devices-that-require-PIN-entry.patch ---
>From 33524bf400bfbf3c5fc5bdf23dc086f0d7d0875b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Fri, 11 Sep 2009 14:58:25 +0100
Subject: [PATCH] Fix pairing with devices that require PIN entry

If a device that has a fixed PIN was selected before a device that
doesn't have one (for example, select a printer or audio headset,
before selecting a phone), then the automatic_pincode would have
been TRUE.

We need to reset the automatic_pincode every time we change devices.
---
 wizard/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/wizard/main.c b/wizard/main.c
index ac28573..5bf719d 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -775,6 +775,7 @@ select_device_changed (BluetoothChooser *selector,
 
 	target_type = type;
 	target_ssp = !legacypairing;
+	automatic_pincode = FALSE;
 
 	g_free (pincode);
 	pincode = NULL;
-- 
1.6.2.5



Index: gnome-bluetooth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-bluetooth/devel/gnome-bluetooth.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -r1.90 -r1.91
--- gnome-bluetooth.spec	3 Sep 2009 17:31:32 -0000	1.90
+++ gnome-bluetooth.spec	11 Sep 2009 14:02:59 -0000	1.91
@@ -1,6 +1,6 @@
 Name:		gnome-bluetooth
 Version:	2.27.90
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Bluetooth graphical utilities
 
 Group:		Applications/Communications
@@ -36,6 +36,7 @@ Requires(postun):	desktop-file-utils
 
 # http://bugzilla.gnome.org/show_bug.cgi?id=594055
 Patch0:		0001-Bug-594055-applet-fails-to-connect-to-any-disconn.patch
+Patch1:		0001-Fix-pairing-with-devices-that-require-PIN-entry.patch
 
 %description
 The gnome-bluetooth package contains graphical utilities to setup,
@@ -199,6 +200,9 @@ fi
 %{_datadir}/gtk-doc/html/gnome-bluetooth/
 
 %changelog
+* Fri Sep 11 2009 Bastien Nocera <bnocera at redhat.com> 2.27.90-3
+- Fix possible pairing failure
+
 * Thu Sep 03 2009 Bastien Nocera <bnocera at redhat.com> 2.27.90-2
 - Fix connecting to audio devices not working when disconnected
   at start




More information about the fedora-extras-commits mailing list