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

Commit e259680a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: f_gsi: Avoid starting transfer if disconnected"

parents 48d1f0d2 75ecf1a3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -897,10 +897,12 @@ static void ipa_work_handler(struct work_struct *w)
								__func__);
				break;
			}
			ipa_connect_channels(d_port);

			d_port->sm_state = STATE_CONNECT_IN_PROGRESS;
			log_event_dbg("%s: ST_INIT_EVT_CONN_IN_PROG",
					__func__);
			if (peek_event(d_port) != EVT_DISCONNECTED)
				ipa_connect_channels(d_port);
		} else if (event == EVT_HOST_READY) {
			/*
			 * When in a composition such as RNDIS + ADB,