summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-11 03:38:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-11 03:38:15 +0000
commit7244ccaea6e7e6eadec3b5b2e2be1f8b3d030d81 (patch)
tree4125bc7755f843b5c473616c193f14338b1b74ff
parentfbd438af3f68570e11cbaf8be7eab15b777d5e39 (diff)
Fix debug output for link key type
-rw-r--r--hcid/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/security.c b/hcid/security.c
index e5971b88..9a1b373b 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -305,7 +305,7 @@ static void link_key_request(int dev, bdaddr_t *sba, bdaddr_t *dba)
memcpy(lr.link_key, key, 16);
bacpy(&lr.bdaddr, dba);
- debug("stored link key type = 0x02%x", type);
+ debug("stored link key type = 0x%02x", type);
if ((type == 0x03 || type == 0x04) && (req.type & 0x01))
hci_send_cmd(dev, OGF_LINK_CTL,