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

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

Merge "msm: gsi: allow start_xfer when channel is not running"

parents b8c1f3e5 8368f6cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2777,7 +2777,7 @@ int gsi_start_xfer(unsigned long chan_hdl)
		return -GSI_STATUS_UNSUPPORTED_OP;
		return -GSI_STATUS_UNSUPPORTED_OP;
	}
	}


	if (ctx->state != GSI_CHAN_STATE_STARTED) {
	if (ctx->state == GSI_CHAN_STATE_NOT_ALLOCATED) {
		GSIERR("bad state %d\n", ctx->state);
		GSIERR("bad state %d\n", ctx->state);
		return -GSI_STATUS_UNSUPPORTED_OP;
		return -GSI_STATUS_UNSUPPORTED_OP;
	}
	}