Bluetooth: Refactor read default sys config for various types
authorHoward Chung <howardchung@google.com>
Thu, 26 Nov 2020 04:22:24 +0000 (12:22 +0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Dec 2020 15:00:56 +0000 (17:00 +0200)
commit3bc615fa93d2e89104edd924135451db8bbf631f
tree41fdcea4b930d03a156cdce4e6411e938b74d674
parent422bb17f8a17a29a6553b4569a213b792cd57c0a
Bluetooth: Refactor read default sys config for various types

Refactor read default system configuration function so that it's capable
of returning different types than u16

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