Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt
authorJaganath Kanakkassery <jaganath.k.os@gmail.com>
Wed, 3 Apr 2019 06:41:44 +0000 (12:11 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Apr 2019 17:23:20 +0000 (19:23 +0200)
commitcd9151b618da4723877bd94eae952f2e50acbc0e
tree6fb063730b5e9fd887342d11e6cc8c6f8150d67b
parent039287aa9f7247f27ecae70a6e4aefa43f431d6b
Bluetooth: Fix incorrect pointer arithmatic in ext_adv_report_evt

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: Jaganath Kanakkassery <jaganath.kanakkassery@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c