Bluetooth: hci_event: Rework hci_inquiry_result_with_rssi_evt
This rework the handling of hci_inquiry_result_with_rssi_evt to not use a union to represent the different inquiry responses. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Tested-by: Soenke Huster <soenke.huster@eknoes.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
committed by
Marcel Holtmann
parent
3318ae23bb
commit
72279d17df
@@ -2233,11 +2233,7 @@ struct inquiry_info_rssi_pscan {
|
||||
} __packed;
|
||||
struct hci_ev_inquiry_result_rssi {
|
||||
__u8 num;
|
||||
struct inquiry_info_rssi info[];
|
||||
} __packed;
|
||||
struct hci_ev_inquiry_result_rssi_pscan {
|
||||
__u8 num;
|
||||
struct inquiry_info_rssi_pscan info[];
|
||||
__u8 data[];
|
||||
} __packed;
|
||||
|
||||
#define HCI_EV_REMOTE_EXT_FEATURES 0x23
|
||||
|
||||
Reference in New Issue
Block a user