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

Commit 1506b2e2 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Fix if condition with the correct check"

parents 6a77bc7b 20803394
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