diff options
author | Bastien Nocera <hadess@hadess.net> | 2009-09-11 14:58:25 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2009-09-16 11:42:07 +0100 |
commit | d326df2d5b7f78222f70fb805c13ff0a54917535 (patch) | |
tree | e5032ca5efa4d9b4cac856935fce905fe467e7df | |
parent | 016e07941e3fac523f339f144aad0880118ccf36 (diff) | |
download | gnome-bluetooth-d326df2d5b7f78222f70fb805c13ff0a54917535.tar.gz |
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.
-rw-r--r-- | wizard/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wizard/main.c b/wizard/main.c index 4fde0de8..31e10f76 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; |