diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-28 06:13:32 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-01 23:55:58 +0200 |
commit | bdb6d97154b7b7e98867e9b71bae0f47ec70b1d7 (patch) | |
tree | 73d3cc5c3204ec55164c8f111ba58d1004b63627 /drivers/zorro | |
parent | 75fb0e324daa48ec458fb5c2960eb07b80cfad9d (diff) |
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>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions