qcacld-3.0: Add roaming in progress check in get sta stats

In wlan_hdd_get_sta_stats add hdd_is_roaming_in_progress
check.

Change-Id: I49500f592cc73ee859f6326dbf8f0e1af968036f
CRs-Fixed: 3151142
This commit is contained in:
Vulupala Shashank Reddy 2022-03-15 14:19:17 +05:30 • committed by Madan Koyyalamudi
commit 9f12ca2e76

View file

@ -5685,7 +5685,8 @@ static int wlan_hdd_get_sta_stats(struct wiphy *wiphy,
return 0;
}
if (sta_ctx->hdd_reassoc_scenario) {
if (sta_ctx->hdd_reassoc_scenario ||
hdd_is_roaming_in_progress(hdd_ctx)) {
hdd_debug("Roaming is in progress, cannot continue with this request");
/*
* supplicant reports very low rssi to upper layer