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

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

Merge "diag: Do not notify DCI client for initial packet from peripheral"

parents e70ea75d c1f6688e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -917,6 +917,9 @@ static int diag_socket_read(void *ctxt, unsigned char *buf, int buf_len)
			 * channel open for communication.
			 */
			memcpy(&info->remote_addr, &src_addr, sizeof(src_addr));
			if (info->ins_id == INST_ID_DCI)
				atomic_set(&info->opened, 1);
			else
				__socket_open_channel(info);
		}