summaryrefslogtreecommitdiff
path: root/drivers/net/netvsc/hn_rndis.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/netvsc/hn_rndis.c')
-rw-r--r--drivers/net/netvsc/hn_rndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netvsc/hn_rndis.c b/drivers/net/netvsc/hn_rndis.c
index 0134ecb..4a1d49f 100644
--- a/drivers/net/netvsc/hn_rndis.c
+++ b/drivers/net/netvsc/hn_rndis.c
@@ -1093,7 +1093,7 @@ hn_rndis_get_eaddr(struct hn_data *hv, uint8_t *eaddr)
uint32_t eaddr_len;
int error;
- eaddr_len = ETHER_ADDR_LEN;
+ eaddr_len = RTE_ETHER_ADDR_LEN;
error = hn_rndis_query(hv, OID_802_3_PERMANENT_ADDRESS, NULL, 0,
eaddr, eaddr_len);
if (error)