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

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

Merge "diag: dci: Rectify updation of peripheral status"

parents 18f98f90 9f9e0d9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1368,7 +1368,7 @@ void diag_dci_notify_client(int peripheral_mask, int data, int proc)
	if (data == DIAG_STATUS_OPEN)
		dci_ops_tbl[proc].peripheral_status |= peripheral_mask;
	else
		dci_ops_tbl[proc].peripheral_status &= !peripheral_mask;
		dci_ops_tbl[proc].peripheral_status &= ~peripheral_mask;

	/* Notify the DCI process that the peripheral DCI Channel is up */
	list_for_each_safe(start, temp, &driver->dci_client_list) {