nimble/ll: Use syscfg val to reserve slot for aux scan

Turns out we have syscfg val for aux scan payload, but we forgot to
use it.
This commit is contained in:
Andrzej Kaczmarek
2022-08-30 13:48:48 +02:00
parent 933445d6c9
commit e9e2ccfa8a
+1 -1
View File
@@ -756,7 +756,7 @@ ble_ll_scan_aux_sched(struct ble_ll_scan_aux_data *aux, uint32_t pdu_time,
return -1;
}
max_aux_time_us = ble_ll_pdu_tx_time_get(BLE_LL_MAX_PAYLOAD_LEN,
max_aux_time_us = ble_ll_pdu_tx_time_get(MYNEWT_VAL(BLE_LL_SCHED_SCAN_AUX_PDU_LEN),
ble_ll_phy_to_phy_mode(aux->sec_phy, 0));
rc = ble_ll_sched_scan_aux(&aux->sch, pdu_time, pdu_time_rem, offset_us,