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

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

Merge "diag: Close the correct device while closing mux connection"

parents 13f67f99 9c0a506c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ int diag_mux_switch_logging(int proc, int *req_mode, int *peripheral_mask)
		break;
	case DIAG_MEMORY_DEVICE_MODE:
		if (*req_mode == DIAG_USB_MODE) {
			diag_mux->md_ptr->log_ops->close();
			diag_mux->md_ptr->log_ops->close_device(proc);
			diag_mux->logger[proc] = diag_mux->usb_ptr;
			diag_mux->usb_ptr->log_ops->open_device(proc);
		} else if (*req_mode == DIAG_MULTI_MODE) {