Bluetooth: mgmt: Add missing hci_dev locking to set_le()
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 1 Mar 2012 03:55:35 +0000 (19:55 -0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 1 Mar 2012 04:28:04 +0000 (01:28 -0300)
commit1de028ceb54ccd28cc96f1530a195ae1b6a6d5b5
tree17b1f270a183af3bd785dc1009c10f82a8212a43
parent00abfe4442864144a77f70b6b411d691bcb796bf
Bluetooth: mgmt: Add missing hci_dev locking to set_le()

The set_le() function was missing hci_dev locking which is e.g. critical
for the mgmt pending command adding/removing.

Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c