mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-22 00:47:23 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user