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

Commit 20803394 authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa3: Fix if condition with the correct check



'Commit id Id489171a984 (msm: ipa3: Fix to reduce user
data size for WDI offloaded channels)' if condition check was wrong.
Add changes to fix the issue.

Change-Id: If3c4dac094440f813baf2a395d71031d2b51ba6c
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent ca85a813
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2325,7 +2325,7 @@ int gsi_alloc_channel(struct gsi_chan_props *props, unsigned long dev_hdl,
	memset(ctx, 0, sizeof(*ctx));

	/* For IPA offloaded WDI channels not required user_data pointer */
	if (props->prot != GSI_CHAN_PROT_WDI2 ||
	if (props->prot != GSI_CHAN_PROT_WDI2 &&
		props->prot != GSI_CHAN_PROT_WDI3)
		user_data_size = props->ring_len / props->re_size;
	else