mirror of
https://github.com/torvalds/linux
synced 2024-10-11 13:55:09 +00:00
net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity
Signed-off-by: David Gounaris <david.gounaris@infinera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d8d7477702
commit
43a78e0e64
|
@ -780,6 +780,7 @@ static int ucc_hdlc_attach(struct net_device *dev, unsigned short encoding,
|
||||||
|
|
||||||
if (parity != PARITY_NONE &&
|
if (parity != PARITY_NONE &&
|
||||||
parity != PARITY_CRC32_PR1_CCITT &&
|
parity != PARITY_CRC32_PR1_CCITT &&
|
||||||
|
parity != PARITY_CRC16_PR0_CCITT &&
|
||||||
parity != PARITY_CRC16_PR1_CCITT)
|
parity != PARITY_CRC16_PR1_CCITT)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue