Commit 43a78e0e authored by David Gounaris's avatar David Gounaris Committed by David S. Miller
Browse files

net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity

parent d8d74777
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -780,6 +780,7 @@ static int ucc_hdlc_attach(struct net_device *dev, unsigned short encoding,

	if (parity != PARITY_NONE &&
	    parity != PARITY_CRC32_PR1_CCITT &&
	    parity != PARITY_CRC16_PR0_CCITT &&
	    parity != PARITY_CRC16_PR1_CCITT)
		return -EINVAL;