git: f5639a06b80c - main - mvneta: fix encap property

From: Wojciech Macek <wma_at_FreeBSD.org>
Date: Fri, 29 Oct 2021 09:00:10 UTC
The branch main has been updated by wma:

URL: https://cgit.FreeBSD.org/src/commit/?id=f5639a06b80caf363a28f9b99e0ee697bb32b555

commit f5639a06b80caf363a28f9b99e0ee697bb32b555
Author:     Wojciech Macek <wma@FreeBSD.org>
AuthorDate: 2021-10-29 08:56:57 +0000
Commit:     Wojciech Macek <wma@FreeBSD.org>
CommitDate: 2021-10-29 08:56:57 +0000

    mvneta: fix encap property
    
    Fix MVNETA encap property.
---
 sys/dev/neta/if_mvneta_fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/neta/if_mvneta_fdt.c b/sys/dev/neta/if_mvneta_fdt.c
index 85948adb69d4..102ee1f1c884 100644
--- a/sys/dev/neta/if_mvneta_fdt.c
+++ b/sys/dev/neta/if_mvneta_fdt.c
@@ -133,7 +133,7 @@ mvneta_fdt_attach(device_t dev)
 	}
 
 	if (ofw_bus_has_prop(dev, "tx-csum-limit")) {
-		err = OF_getprop(ofw_bus_get_node(dev), "tx-csum-limit",
+		err = OF_getencprop(ofw_bus_get_node(dev), "tx-csum-limit",
 			    &tx_csum_limit, sizeof(tx_csum_limit));
 		if (err <= 0) {
 			device_printf(dev,