diff options
author | Zijun Hu | 2024-01-09 19:03:23 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz | 2024-02-28 09:42:54 -0500 |
commit | 61a5ab72edea7ebc3ad2c6beea29d966f528ebfb (patch) | |
tree | 27df0225f20982e2433cf1896ac5d9736db05d76 /net/compat.c | |
parent | 2535b848fa0f42ddff3e5255cf5e742c9b77bb26 (diff) |
Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
hci_store_wake_reason() wrongly parses event HCI_Connection_Request
as HCI_Connection_Complete and HCI_Connection_Complete as
HCI_Connection_Request, so causes recording wakeup BD_ADDR error and
potential stability issue, fix it by using the correct field.
Fixes: 2f20216c1d6f ("Bluetooth: Emit controller suspend and resume events")
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions