Bluetooth: Controller: Fix scan_data_status value

Fix scan_data_status value from being incorrected OR-ed with
the advertising data status.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-08-16 12:51:41 +05:30 committed by Carles Cufí
commit 1cd8eb3a81

View file

@ -5349,6 +5349,7 @@ no_ext_hdr:
evt_type |= BT_HCI_LE_ADV_EVT_TYPE_SCAN_RSP;
/* set scan data status bits */
evt_type &= ~(BIT_MASK(2) << 5);
evt_type |= (scan_data_status << 5);
/* Start constructing the event */