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

net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity

Signed-off-by: default avatarDavid Gounaris <david.gounaris@infinera.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d8d74777
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment