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

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

Merge "diag: Wake up diag_socket_read() once the diag channel is closed"

parents 94a34646 8f7ef743
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -514,8 +514,8 @@ static void __socket_close_channel(struct diag_socket_info *info)
	sock_release(info->hdl);
	info->hdl = NULL;
	mutex_unlock(&info->socket_info_mutex);
	cancel_work_sync(&info->read_work);
	wake_up_interruptible(&info->read_wait_q);
	cancel_work_sync(&info->read_work);

	spin_lock_irqsave(&info->lock, flags);
	info->data_ready = 0;