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)
commitefcd8c98e0d195c09fd9141a7af32dd83e62a5cb
tree0c0f3dee6fab6c0c21b0caa4acac39d95159f79d
parent880897d4c9eedd69b33b9905a6919e3e4f58eae8
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
This page took 0.02498 seconds and 5 git commands to generate.