Bluetooth: mgmt: Fix Set SSP check for supported feature
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 21:53:46 +0000 (23:53 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 20 Feb 2012 22:32:16 +0000 (00:32 +0200)
commit1e16357480fdeaeff7c5572f1afba7835473fcb6
tree54cd197f10c935a3853298dadfa72ef0714363a4
parent6d80dfd094a7b286e95cdcac79efeb7bbb4e226f
Bluetooth: mgmt: Fix Set SSP check for supported feature

If the local controller doesn't support SSP we should always return an
error for the Set SSP command.

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