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

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

Merge "diag: Unlock the mask info mutex in error case"

parents 1aaa8bbc bde15b01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -226,6 +226,7 @@ static void diag_send_log_mask_update(uint8_t peripheral,
			pr_debug("diag: In %s, invalid log_mask status\n",
				__func__);
			mutex_unlock(&mask->lock);
			mutex_unlock(&mask_info->lock);
			return;
		}
		if (sub_index >= 0 && preset_id > 0)