소스 검색

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


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.