]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd10dce9ac02a9ce39318a472713d5d56fd94e8c7
tree69f31fec9ff2266d848f5e1f974928a65030c4e4
parent788e21b7262e7cf04f5f913f49044f77fe99d8ed
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