diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-04-01 20:02:08 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-04-10 20:09:12 +0300 |
commit | eb73b5a9157221f405b4fe32751da84ee46b7a25 (patch) | |
tree | 6648d30b152215a7f09d63308dac4a26e98ae376 /tools/perf/scripts/python/gecko.py | |
parent | eaa517b77e63442260640d875f824d1111ca6569 (diff) | |
download | linux-eb73b5a9157221f405b4fe32751da84ee46b7a25.tar.xz |
Bluetooth: hci_event: Fix sending MGMT_EV_DEVICE_FOUND for invalid address
This fixes sending MGMT_EV_DEVICE_FOUND for invalid address
(00:00:00:00:00:00) which is a regression introduced by
a2ec905d1e16 ("Bluetooth: fix kernel oops in store_pending_adv_report")
since in the attempt to skip storing data for extended advertisement it
actually made the code to skip the entire if statement supposed to send
MGMT_EV_DEVICE_FOUND without attempting to use the last_addr_adv which
is garanteed to be invalid for extended advertisement since we never
store anything on it.
Link: https://github.com/bluez/bluez/issues/1157
Link: https://github.com/bluez/bluez/issues/1149#issuecomment-2767215658
Fixes: a2ec905d1e16 ("Bluetooth: fix kernel oops in store_pending_adv_report")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions