mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Bluetooth: Fix mgmt_pin_code_reply return parameters
The command complete event for mgmt_pin_code_reply & mgmt_pin_code_neg_reply should have the adapter index, Bluetooth address as well as the status. Signed-off-by: Johan Hedberg <[email protected]> Signed-off-by: Gustavo F. Padovan <[email protected]>
This commit is contained in:
parent
59a24b5d0d
commit
ac56fb13c0
2 changed files with 18 additions and 10 deletions
|
|
@ -147,6 +147,11 @@ struct mgmt_cp_pin_code_reply {
|
|||
__u8 pin_len;
|
||||
__u8 pin_code[16];
|
||||
} __packed;
|
||||
struct mgmt_rp_pin_code_reply {
|
||||
__le16 index;
|
||||
bdaddr_t bdaddr;
|
||||
uint8_t status;
|
||||
} __packed;
|
||||
|
||||
#define MGMT_OP_PIN_CODE_NEG_REPLY 0x0012
|
||||
struct mgmt_cp_pin_code_neg_reply {
|
||||
|
|
|
|||
Loading…
Reference in a new issue