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

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

Merge "drivers: net: can: ignore the data if command byte is 0xFF"

parents 58b37032 7811a9a1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -445,8 +445,8 @@ static int qti_can_process_rx(struct qti_can *priv_data, char *rx_buf)
		} else {
			data = rx_buf + length_processed;
			resp = (struct spi_miso *)data;
			if (resp->cmd == 0) {
				/* special case. ignore cmd==0 */
			if (resp->cmd == 0x00 || resp->cmd == 0xFF) {
				/* special case. ignore cmd==0x00, 0xFF  */
				length_processed += 1;
				continue;
			}