diff options
author | 2015-03-06 21:08:52 +0200 | |
---|---|---|
committer | 2015-03-06 20:15:21 +0100 | |
commit | b9a245fb12315f8c6528b29a991a004859c982d5 (patch) | |
tree | 8b4f636e8a1f9b9dd88b7b09b3e9c5dffec3f1ba /net/bluetooth/sco.c | |
parent | Bluetooth: Convert mgmt to use HCI chan registration API (diff) | |
download | wireguard-linux-b9a245fb12315f8c6528b29a991a004859c982d5.tar.xz wireguard-linux-b9a245fb12315f8c6528b29a991a004859c982d5.zip |
Bluetooth: Move all mgmt command quirks to handler table
In order to completely generalize the mgmt command handling we need to
move away command-specific information from mgmt_control() into the
actual command table. This patch adds a new 'flags' field to the handler
entries which can now contain the following command specific
information:
- Command takes variable length parameters
- Command doesn't target any specific HCI device
- Command can be sent when the HCI device is unconfigured
After this the mgmt_control() function is completely generic and can
potentially be reused by new HCI channels.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/sco.c')
0 files changed, 0 insertions, 0 deletions