]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit750e758f871d381ed5fd8cff2b86197ac8ab5167
tree54f8f84ca54cdd38b72234e5e101c7d2f8fc558d
parent8ccda3049f5d137906c9c7abb829d816cfaf6a2e
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