qcacld-3.0: Do not send BLM list to FW if recovering

Do not send the reject AP list to FW if the driver
is in recovering state (SSR) as the FW is already
down.

Change-Id: I31d815e215ca703574348a287f294da46937670f
CRs-Fixed: 2667934
This commit is contained in:
gaurank kathpalia 2020-04-22 17:22:51 +05:30 committed by nshrivas
parent 97d3665532
commit 40d08f88c4

View File

@ -14517,11 +14517,12 @@ static int wlan_hdd_state_ctrl_param_open(struct inode *inode,
static void hdd_inform_wifi_off(void)
{
struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD);
int ret;
if (!hdd_ctx) {
hdd_err("Invalid hdd/pdev context");
ret = wlan_hdd_validate_context(hdd_ctx);
if (ret != 0)
return;
}
ucfg_blm_wifi_off(hdd_ctx->pdev);
}