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

Commit c17aaaee authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

diag: Continue through the loop if condition fails for a proc



Exiting the loop for do_switch condition fail for a single proc
should not prevent the switch for other procs. Continue looping
through to update the mode switch for other procs.

Change-Id: Iba154ec7425bdcd7645659d03a4cc884bdd88331
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent bdf17c96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1815,7 +1815,7 @@ static int diag_switch_logging_proc(struct diag_logging_mode_param_t *param,
				DIAG_LOG(DIAG_DEBUG_USERSPACE,
					"not switching modes c: %d n: %d\n",
					curr_mode, new_mode);
				return 0;
				continue;
			}

			diag_ws_reset(DIAG_WS_MUX);