Skip to content

Commit

Permalink
Bluetooth: mgmt: Refactor hci_dev lookup for commands
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johan Hedberg committed Mar 1, 2012
1 parent 75fb0e3 commit bdb6d97
Showing 1 changed file with 274 additions and 490 deletions.
Loading

0 comments on commit bdb6d97

Please sign in to comment.