qcacld-3.0: Do not attempt to print FISA stats when its disabled
Currently the handler which dumps FISA stats, does not check if the FISA feature has been enabled/disabled via the INI. Accessing FST table when FISA has been disabled via INI leads to unexpected assertion. Fix this by checking if the FISA feature has been enabled via INI, before accessing the FST table. Change-Id: I5345138c5af03e3dd777bfe36004c477cff0ab7d CRs-Fixed: 3249827
This commit is contained in:

committed by
Madan Koyyalamudi

vanhempi
d971168920
commit
2421447f6d
@@ -37,11 +37,18 @@ void dp_fisa_rx_fst_update_work(void *arg);
|
||||
|
||||
void dp_rx_dump_fisa_table(struct dp_soc *soc)
|
||||
{
|
||||
struct wlan_cfg_dp_soc_ctxt *cfg = soc->wlan_cfg_ctx;
|
||||
hal_soc_handle_t hal_soc_hdl = soc->hal_soc;
|
||||
struct dp_rx_fst *fst = soc->rx_fst;
|
||||
struct dp_fisa_rx_sw_ft *sw_ft_entry;
|
||||
int i;
|
||||
|
||||
/* Check if it is enabled in the INI */
|
||||
if (!wlan_cfg_is_rx_fisa_enabled(cfg)) {
|
||||
dp_err("RX FISA feature is disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!fst->fst_in_cmem)
|
||||
return hal_rx_dump_fse_table(soc->rx_fst->hal_rx_fst);
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user