ipq40xx: less ess_edma ipv6 log output

This commit is contained in:
coolsnowwolf 2020-07-06 11:40:29 +08:00 committed by CN_SZTL
parent 14f5def323
commit 08c3a141b8
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -34,3 +34,15 @@ Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
+obj-$(CONFIG_ESSEDMA) += essedma/
obj-$(CONFIG_RMNET) += rmnet/
--- a/drivers/net/ethernet/qualcomm/essedma/edma.c
+++ b/drivers/net/ethernet/qualcomm/essedma/edma.c
@@ -1493,7 +1493,7 @@
int res;
if (skb->protocol == htons(ETH_P_IPV6)) {
- dev_err(&adapter->pdev->dev, "IPv6 not supported\n");
+
res = -EINVAL;
goto no_protocol_err;
}