Эх сурвалжийг харах

qcacld-3.0: Reset the IPA resource loading flag

When IPA RM resources are not granted immediately, IPA
WDI pipes activation is deferred and activated from the
RM notify callback when resources are granted. In this
case after pipe activation resource loading flag is not
set to true. As a result when IPA wants to access the WLAN
resource driver sends wrong status as resource loading in
progress. So reset the flag when IPA WDI pipes activation
is deferred and activated from rm notification handler.

Change-Id: Ia336181f0471a9a8d6c853aefa19a23102077222
CRS-Fixed: 2198206
Sravan Kumar Kairam 7 жил өмнө
parent
commit
6a0faeb112

+ 1 - 0
components/ipa/core/src/wlan_ipa_rm.c

@@ -253,6 +253,7 @@ wlan_ipa_uc_rm_notify_handler(struct wlan_ipa_priv *ipa_ctx,
 		if ((!ipa_ctx->resource_unloading) &&
 		    (!ipa_ctx->activated_fw_pipe)) {
 			wlan_ipa_uc_enable_pipes(ipa_ctx);
+			ipa_ctx->resource_loading = false;
 		}
 		qdf_mutex_release(&ipa_ctx->ipa_lock);
 		break;