]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Move memory location outside of hci_dev lock
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 28 Mar 2015 22:18:58 +0000 (15:18 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 29 Mar 2015 04:57:00 +0000 (07:57 +0300)
commit393ab854724ad37d08942bc09e37a84a3119a67d
tree0c0f3dee6fab6c0c21b0caa4acac39d95159f79d
parentfbd5c8c620137553d32f659db7d9178f76d2c872
Bluetooth: Move memory location outside of hci_dev lock

Taking the hci_dev lock for just a memory allocation seems a bit too
much and not really needed. So instead try to allocate the memory first
and then take the lock.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c