[gnome-bluetooth/fedora-11] Fix pairing with devices that require PIN entry
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/fedora-11] Fix pairing with devices that require PIN entry
- Date: Wed, 16 Sep 2009 10:44:01 +0000 (UTC)
commit d326df2d5b7f78222f70fb805c13ff0a54917535
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 11 14:58:25 2009 +0100
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 4fde0de..31e10f7 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -771,6 +771,7 @@ select_device_changed (BluetoothChooser *selector,
target_type = type;
target_ssp = !legacypairing;
+ automatic_pincode = FALSE;
g_free (pincode);
pincode = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]