diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 5ede83392f84..a51d9387ab1b 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -988,14 +988,16 @@ hdd_link_layer_process_radio_stats(struct hdd_adapter *adapter, struct wifi_radio_stats *radio_stat, u32 num_radio) { - int status, i, nr, ret; + int i, nr, ret; struct wifi_radio_stats *radio_stat_save = radio_stat; - struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); - - status = wlan_hdd_validate_context(hdd_ctx); - if (0 != status) - return; + /* + * There is no need for wlan_hdd_validate_context here. This is a NB + * operation that will come with DSC synchronization. This ensures that + * no driver transition will take place as long as this operation is + * not complete. Thus the need to check validity of hdd_context is not + * required. + */ for (i = 0; i < num_radio; i++) { hdd_nofl_debug("LL_STATS_RADIO"