Bluetooth: Move SMP crypto functions to a workqueue
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Mon, 5 Sep 2011 17:31:31 +0000 (14:31 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:58:12 +0000 (12:58 -0300)
commit8aab47574a7f5b46a4cdbc6fd820ab34e6c5dbf9
tree69f31fec9ff2266d848f5e1f974928a65030c4e4
parent1c1def09c446aae441410b70e6439ffe44dee866
Bluetooth: Move SMP crypto functions to a workqueue

The function crypto_blkcipher_setkey() called by smp_e()
can sleep, so all the crypto work has to be moved to
hci_dev workqueue.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/smp.h
net/bluetooth/l2cap_core.c
net/bluetooth/smp.c