From: Vinicius Costa Gomes Date: Thu, 9 Jun 2011 21:50:48 +0000 (-0300) Subject: Bluetooth: Remove debug statements X-Git-Tag: MMI-PSA29.97-13-9~18350^2~12^2~42^2~389^2~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b3d67405b17d61ba8be9d824222fb410f487b8a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Bluetooth: Remove debug statements Now that these commands are sent to the controller we can use hcidump to verify that the correct values are produced. Signed-off-by: Vinicius Costa Gomes Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index 56828db68109..69839797b7dc 100644 --- a/net/bluetooth/smp.c +++ b/net/bluetooth/smp.c @@ -280,7 +280,7 @@ static void smp_cmd_pairing_random(struct l2cap_conn *conn, struct sk_buff *skb) struct hci_conn *hcon = conn->hcon; struct crypto_blkcipher *tfm = hcon->hdev->tfm; int ret; - u8 key[16], res[16], random[16], confirm[16], buf[128]; + u8 key[16], res[16], random[16], confirm[16]; swap128(skb->data, random); skb_pull(skb, sizeof(random)); @@ -329,10 +329,6 @@ static void smp_cmd_pairing_random(struct l2cap_conn *conn, struct sk_buff *skb) smp_s1(tfm, conn->tk, conn->prnd, random, key); swap128(key, hcon->ltk); - - hex_dump_to_buffer(key, sizeof(key), 16, 1, buf, - sizeof(buf), 0); - BT_DBG("key %s", buf); } }