diff --git a/umac/regulatory/core/src/reg_services.c b/umac/regulatory/core/src/reg_services.c index 27084d21fb04..6aea3d70da34 100644 --- a/umac/regulatory/core/src/reg_services.c +++ b/umac/regulatory/core/src/reg_services.c @@ -3209,12 +3209,18 @@ QDF_STATUS reg_process_master_chan_list(struct cur_regulatory_info reg_err("pdev is NULL"); return QDF_STATUS_E_FAILURE; } - wlan_objmgr_pdev_release_ref(pdev, dbg_id); if (tx_ops->set_country_failed) tx_ops->set_country_failed(pdev); - return QDF_STATUS_E_FAILURE; + wlan_objmgr_pdev_release_ref(pdev, dbg_id); + + if (regulat_info->status_code != REG_CURRENT_ALPHA2_NOT_FOUND) + return QDF_STATUS_E_FAILURE; + + soc_reg->new_user_ctry_pending[phy_id] = false; + soc_reg->new_11d_ctry_pending[phy_id] = false; + soc_reg->world_country_pending[phy_id] = true; } mas_chan_list = soc_reg->mas_chan_params[phy_id].mas_chan_list;