Bluetooth: Controller: Fix Extended Scan Response Secondary PHY value

Fix Extended Scan Response report Secondary PHY value to use
AUX_ADV_IND PHY.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2021-11-25 20:16:24 +05:30 committed by Carles Cufí
commit 7b78c4e534

View file

@ -5865,7 +5865,11 @@ no_ext_hdr:
/* Detect the scan response in the list of node_rx */ /* Detect the scan response in the list of node_rx */
if (node_rx_curr->hdr.rx_ftr.scan_rsp) { if (node_rx_curr->hdr.rx_ftr.scan_rsp) {
node_rx_scan_data = node_rx_curr; node_rx_scan_data = node_rx_curr;
sec_phy_scan = sec_phy_curr; if (sec_phy_curr) {
sec_phy_scan = sec_phy_curr;
} else {
sec_phy_scan = sec_phy;
}
scan_data_len = data_len_curr; scan_data_len = data_len_curr;
scan_data = data_curr; scan_data = data_curr;
} }