Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f12ca2e authored by Vulupala Shashank Reddy's avatar Vulupala Shashank Reddy Committed by Madan Koyyalamudi
Browse files

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
parent 9eafeb10
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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