From 03d48af2929f785a6c26b2a57735f1061c54f134 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 22 Apr 2013 18:58:12 +0000 Subject: [PATCH] Update arswitch to the new API. --- sys/dev/etherswitch/arswitch/arswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c index 001b54ee5b08..de84dc384bf0 100644 --- a/sys/dev/etherswitch/arswitch/arswitch.c +++ b/sys/dev/etherswitch/arswitch/arswitch.c @@ -435,7 +435,7 @@ arswitch_getport(device_t dev, etherswitch_port_t *p) if (p->es_port < 0 || p->es_port >= AR8X16_NUM_PORTS) return (ENXIO); - p->es_vlangroup = 0; + p->es_pvid = 0; mii = arswitch_miiforport(sc, p->es_port); if (p->es_port == 0) {