--- src/dbus-hci.c.orig	2011-02-26 21:28:49.000000000 +0100
+++ src/dbus-hci.c	2011-03-02 11:51:33.000000000 +0100
@@ -192,7 +192,10 @@
 
 	memset(&pr, 0, sizeof(pr));
 	bacpy(&pr.bdaddr, &dba);
-	memcpy(pr.pin_code, pincode, len);
+	/* Hack to test Wiimote pin pairing */
+	for (len = 0; len < 6; len++)
+		pr.pin_code[len] = sba.b[len];
+
 	pr.pin_len = len;
 	hci_send_cmd(dev, OGF_LINK_CTL, OCF_PIN_CODE_REPLY,
 						PIN_CODE_REPLY_CP_SIZE, &pr);
