mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: do fisa flush per vdev only if fisa enabled in INI
If FISA related macro WLAN_SUPPORT_RX_FISA is configured but INI dp_rx_fisa_enable is not set, fisa related context is not initialed in dp_soc structure. if do fisa flush when vdev detach, invalid access to fisa context will happen. Do fisa flush per vdev only if fisa is enabled in INI. Change-Id: Id3cecfa24f8ce26465a7809d4d9b2e92ae199c7d CRs-Fixed: 2687949
This commit is contained in:
parent
0d36c7fb2b
commit
d4be970088
1 changed files with 2 additions and 1 deletions
|
|
@ -2063,7 +2063,8 @@ QDF_STATUS hdd_rx_flush_packet_cbk(void *adapter_context, uint8_t vdev_id)
|
|||
}
|
||||
|
||||
/* do fisa flush for this vdev */
|
||||
hdd_rx_fisa_flush_by_vdev_id(soc, vdev_id);
|
||||
if (hdd_ctx->config->fisa_enable)
|
||||
hdd_rx_fisa_flush_by_vdev_id(soc, vdev_id);
|
||||
|
||||
if (hdd_ctx->enable_dp_rx_threads)
|
||||
dp_txrx_flush_pkts_by_vdev_id(soc, vdev_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue