浏览代码

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 年之前
父节点
当前提交
bdb6d97154
共有 1 个文件被更改,包括 122 次插入268 次删除
  1. 122 268
      net/bluetooth/mgmt.c

文件差异内容过多而无法显示
+ 122 - 268
net/bluetooth/mgmt.c


部分文件因为文件数量过多而无法显示