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

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

Merge "diag: Unlock mutex before exiting socket read"

parents 90d35816 d6a5c636
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -797,6 +797,7 @@ static int diag_socket_read(void *ctxt, unsigned char *buf, int buf_len)
			info->data_ready--;
		} else {
			spin_unlock_irqrestore(&info->lock, flags);
			mutex_unlock(&info->socket_info_mutex);
			break;
		}
		spin_unlock_irqrestore(&info->lock, flags);