]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: mgmt: Restrict BR/EDR settings to BR/EDR-only adapters
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 24 Oct 2012 18:11:58 +0000 (21:11 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Oct 2012 19:57:49 +0000 (17:57 -0200)
commit2178320a9f446a07d40434bfd3dfd55bf70c650c
treeb46cd6dd9d02c91423e0e9db1959d1c87426c256
parent9cfdd1384ac3f5be4bd5119392e2ea3b89cdee30
Bluetooth: mgmt: Restrict BR/EDR settings to BR/EDR-only adapters

This patch makes sure that settings which are specific for BR/EDR
capable adapters are not allowed for non-BR/EDR (e.g. LE-only) adapters.
Instead, a "not supported" error is returned of such a setting is
attempted to be set for a non-BR/EDR adapter.

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>
net/bluetooth/mgmt.c