Johan Hedberg 4ec86d4c86 Bluetooth: Fix validating IO capability values in mgmt commands
The valid range of IO capabilities for the Set IO Capability and Pair
Device mgmt commands is 0-4 (4 being the KeyboarDisplay capability for
SMP). We should return an invalid parameters error if user space gives
us a value outside of this range.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2014-07-03 17:42:43 +02:00
..
2014-05-23 16:28:53 -04:00
2014-05-30 17:48:58 -07:00
2014-06-04 22:46:38 -07:00
2014-06-04 22:46:38 -07:00
2014-04-16 15:15:05 -04:00