Browse Source

Bluetooth: mgmt: Refactor hci_dev lookup for commands

Almost all mgmt commands need to lookup a struct hci_dev based on the
index received within the mgmt headers. It makese therefore sense to
look this up in a single place and then just pass the hdev pointer to
each command handler function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Johan Hedberg 13 years ago
parent
commit
bdb6d97154
1 changed files with 122 additions and 268 deletions
  1. 122 268
      net/bluetooth/mgmt.c

File diff suppressed because it is too large
+ 122 - 268
net/bluetooth/mgmt.c


Some files were not shown because too many files changed in this diff