]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add missing check for BREDR_ENABLED flag in update_class()
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 19 Oct 2013 20:38:17 +0000 (23:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Oct 2013 16:05:40 +0000 (09:05 -0700)
commitb3bde16f6ccbdd17731a398b87e2a39e06cd22b9
tree2960c625fbe1c232b02796d947085e3b86678832
parent1dd883cab728dd8a4c874fa51f58704fe75d7e87
Bluetooth: Add missing check for BREDR_ENABLED flag in update_class()

We shouldn't be sending the HCI_Write_Class_Of_Device command when
BR/EDR is disabled since this is a BR/EDR-only command.

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