Bluetooth: Read LE Advertising Channel TX Power only when available
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 12 Jul 2014 21:20:50 +0000 (23:20 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 13 Jul 2014 05:49:04 +0000 (08:49 +0300)
commit15a49cca98c3380271ced8db2ea69ee95db5c709
tree54f8f84ca54cdd38b72234e5e101c7d2f8fc558d
parentc7e0c14115db67063a5f68fd9d4a12a54e649dc7
Bluetooth: Read LE Advertising Channel TX Power only when available

The Read LE Advertising Channel TX Power command is not mandatory for
a Bluetooth HCI controller only supporting receiption. Move the command
to the third stage of the controller initialization and only execute it
when support for it has been indicated.

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