Bluetooth: Store supported commands only during setup procedure
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 31 Oct 2013 11:54:33 +0000 (04:54 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:03 +0000 (11:09 -0200)
commit6a070e6e81adfaed060c5696ef3388126d2165b1
treeee71589d7e9cff677feb64fc3154a451e866fb5d
parentd3d5dd3eb45c37141096c65a3742f4cf38f785ea
Bluetooth: Store supported commands only during setup procedure

The list of supported commands of a controller can not change during
its lifetime. So store the list just once during the setup procedure
and not every time the HCI command is executed.

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