]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix sending write_scan_enable when BR/EDR is disabled
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 20:38:21 +0000 (23:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Oct 2013 16:05:40 +0000 (09:05 -0700)
commite54490d0d7c1422e35adfa6631c65e2f78922f29
tree0e622d789b3265ff6642ff3b48966980bae73549
parent7e30f4506002027d112c5d2f9ef0e8a6739f9a2e
Bluetooth: Fix sending write_scan_enable when BR/EDR is disabled

We should only send the HCI_Write_Scan_Enable command from
mgmt_set_powered_failed() when BR/EDR support is enabled. This is
particularly important when the discoverable setting is also tied to LE.

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