]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Allow changing device class when BR/EDR is disabled
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 06:37:29 +0000 (23:37 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 07:05:27 +0000 (10:05 +0300)
commit63687069aa265c97cb0501976a2466714c629adc
treec8be7f4050f83c4c5d8404c5b93566b97220b192
parent204256865749c164ad0ac782ec283a1215acba70
Bluetooth: Allow changing device class when BR/EDR is disabled

Changing the device class when BR/EDR is disabled has no visible
effect for remote devices. However to simplify the logic allow it
as long as the controller supports BR/EDR operations.

If it is not allowed, then the overall logic becomes rather
complicated since the class of device values would need clearing
or restoring when BR/EDR setting changes.

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