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

Commit d846b44c 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: Mark notify_modem as NULL on gbridge_disconnect"

parents 4678b794 9bb97b02
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -993,6 +993,7 @@ void gbridge_disconnect(void *gptr, u8 portno)

	spin_lock_irqsave(&port->port_lock, flags);
	port->is_connected = false;
	gser->notify_modem = NULL;
	port->port_usb = NULL;
	port->nbytes_from_host = port->nbytes_to_host = 0;
	port->nbytes_to_port_bridge = 0;