Bluetooth: Allow reading configuration info when unconfigured
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Jul 2014 14:54:40 +0000 (16:54 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 4 Jul 2014 15:09:37 +0000 (18:09 +0300)
commit42a9bc148960b2c85f9ec5ef1abe3a87e0155c60
treea4dce68d33fbabe0aa2099ba8863ff8ba05ad9f9
parent849e5086b9080d2408fd6223d27548032083b9e8
Bluetooth: Allow reading configuration info when unconfigured

Reading the controller configuration information is a valid management
command when the controller is unconfigured. Allow this command, but
return invalid index on all other commands.

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