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

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

Merge "usb: f_qdss: Setting channel to NULL in qdss_close"

parents 1cf28ab9 e4b38fc2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -960,6 +960,7 @@ void usb_qdss_close(struct usb_qdss_ch *ch)
	usb_qdss_free_req(ch);
close:
	ch->priv_usb = NULL;
	ch->notify = NULL;
	if (!qdss || !qdss->usb_connected ||
			!strcmp(qdss->ch.name, USB_QDSS_CH_MDM)) {
		ch->app_conn = 0;