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

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

Merge "usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDIS"

parents e4b909ed c8f3a751
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2417,14 +2417,14 @@ static int gsi_set_alt(struct usb_function *f, unsigned intf, unsigned alt)
			if (gsi->prot_id == IPA_USB_ECM)
				gsi->d_port.cdc_filter = DEFAULT_FILTER;

			post_event(&gsi->d_port, EVT_CONNECT_IN_PROGRESS);
			/*
			 * For RNDIS the event is posted from the flow control
			 * handler which is invoked when the host sends the
			 * GEN_CURRENT_PACKET_FILTER message.
			 */
			if (gsi->prot_id != IPA_USB_RNDIS)
				post_event(&gsi->d_port, EVT_HOST_READY);
				post_event(&gsi->d_port,
						EVT_CONNECT_IN_PROGRESS);
			queue_work(gsi->d_port.ipa_usb_wq,
					&gsi->d_port.usb_ipa_w);
		}