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

Commit 8676c378 authored by Vevek V's avatar Vevek V Committed by Madan Koyyalamudi
Browse files

qcacld-3.0: handle_last_discon to disable IPA in dual SAP mode

In dual SAP connection, calls only disable_pipes to disable IPA,
whereas during second SAP disconnection, to enable IPA, calls
wlan_ipa_uc_handle_first_con, which sends ipa_set_active MSG
as true to FW, for both Tx/Rx to resume.
So calling wlan_ipa_uc_handle_last_discon in dual SAP mode,
which sends ipa_set_active MSG as false to FW, to suspend.

Change-Id: I224e94a003030f497e15f242634f15d9c71b9ef0
CRs-Fixed: 3094276
parent 7e44043b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -2149,7 +2150,7 @@ void wlan_ipa_handle_multiple_sap_evt(struct wlan_ipa_priv *ipa_ctx,
		}

		if (!ipa_ctx->ipa_pipes_down)
			wlan_ipa_uc_disable_pipes(ipa_ctx, true);
			wlan_ipa_uc_handle_last_discon(ipa_ctx, true);
	}
}
#endif