commit | ee98f4738050bb93823ce9ba849f5d78f5b8c1a1 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Wed Jan 09 15:29:36 2013 +0200 |
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Thu Jan 10 06:09:26 2013 -0200 |
tree | 80f443a5764d39168015265ac3a93239ceb9c7c3 | |
parent | 575b3a02e20a10bb8110378ef363a8a174018680 [diff] |
Bluetooth: Fix accepting set_dev_class for non-BR/EDR controllers The concept of Class of Device only exists for BR/EDR controllers. The mgmt_set_dev_class command should therefore return a proper "not supported" error if it is attempted for a controller that doesn't support BR/EDR (e.g. a single mode LE-only one). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>