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

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

Merge "msm: gsi: Stop Channel support when in Flow Control State"

parents 4943ac18 9d18b823
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2952,7 +2952,8 @@ int gsi_stop_channel(unsigned long chan_hdl)

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