]> 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)
commite8a70b1f7dd64b32b8e629de11ef990dd6c0fa1f
tree54f8f84ca54cdd38b72234e5e101c7d2f8fc558d
parent24f9f8b8cc1efdf9e7a0af9562f09ed3a244cba7
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