[gnome-bluetooth] Return the correct pincode in the pincode callback
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Return the correct pincode in the pincode callback
- Date: Thu, 15 Oct 2009 22:47:52 +0000 (UTC)
commit b7f82247cbb33f658cc3a4b09cf748ea186e3be6
Author: Joshua Lock <josh linux intel com>
Date: Thu Oct 15 14:18:36 2009 +0100
Return the correct pincode in the pincode callback
Returning the wrong pincode here made pairing fail in interesting ways at
interesting times ...
https://bugzilla.gnome.org/show_bug.cgi?id=598588
moblin/moblin-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 345a589..8c8c8cc 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -1431,7 +1431,7 @@ pincode_callback (DBusGMethodInvocation *context,
if (priv->automatic_pincode == FALSE)
set_current_page (self, PAGE_SETUP);
- dbus_g_method_return (context, priv->target_pincode);
+ dbus_g_method_return (context, priv->pincode);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]