--- src/dbus-hci.c	2011-02-26 21:30:26.000000000 +0100
+++ src/dbus-hci.c.orig	2011-02-26 21:28:49.000000000 +0100
@@ -192,15 +192,7 @@
 
 	memset(&pr, 0, sizeof(pr));
 	bacpy(&pr.bdaddr, &dba);
-	/* Hack start */
-	len = 0;
-	pr.pin_code[len++] = 0x00;
-	pr.pin_code[len++] = 0x01;
-	pr.pin_code[len++] = 0x00;
-	pr.pin_code[len++] = 0x81;
-	pr.pin_code[len++] = 0x1f;
-	pr.pin_code[len++] = 0x00;
-	/* Hack end */
+	memcpy(pr.pin_code, pincode, len);
 	pr.pin_len = len;
 	hci_send_cmd(dev, OGF_LINK_CTL, OCF_PIN_CODE_REPLY,
 						PIN_CODE_REPLY_CP_SIZE, &pr);
