diff options
author | David Gounaris <david.gounaris@infinera.com> | 2018-09-03 14:47:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-03 22:14:41 -0700 |
commit | 43a78e0e64d1122fb85527dd96fa786b4084e0df (patch) | |
tree | 6050dd25b2dcc09209724583f0d2f909a0b4f353 /drivers/net/wan | |
parent | d8d7477702f7c7cbc6ed7beb93cc9515753ed9e9 (diff) |
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>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/fsl_ucc_hdlc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index f2252e87ce43..df5661d57d87 100644 --- a/drivers/net/wan/fsl_ucc_hdlc.c +++ b/drivers/net/wan/fsl_ucc_hdlc.c @@ -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; |