Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b162f19e authored by Jaganath Kanakkassery's avatar Jaganath Kanakkassery Committed by Greg Kroah-Hartman
Browse files

Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt



commit cd9151b618da4723877bd94eae952f2e50acbc0e upstream.

In ext_adv_report_event rssi comes before data (not after data as
in legacy adv_report_evt) so "+ 1" is not required in the ptr arithmatic
to point to next report.

Signed-off-by: default avatarJaganath Kanakkassery <jaganath.kanakkassery@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2890a7fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment