nrf70: Fix RX buffer rollback on host refill failure
Raw scan disables mgmt buffer offload, so the host must refill every RX descriptor. If hal_data_cmd_send fails after mapping, the buffer stayed marked mapped and the nbuf leaked. Repeated scans eventually exhaust RX slots and the firmware scan stalls mid-channel.
Free and unmap on failure so the descriptor can be re-initialized.
Assisted-by: Cursor:Auto Signed-off-by: Chaitanya Tata Chaitanya.Tata@nordicsemi.no
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
nrf_wifi
nRF Wi-Fi framework