]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/acenic.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-2.6-omap-h63xx.git] / drivers / net / acenic.c
index 33c6645455ae73f684a6cdfe33f8b0a1a6a6a5af..7138e0e025bca734e3d7a289e384e620fb50f659 100644 (file)
@@ -2293,10 +2293,7 @@ static void ace_vlan_rx_kill_vid(struct net_device *dev, unsigned short vid)
 
        local_irq_save(flags);
        ace_mask_irq(dev);
-
-       if (ap->vlgrp)
-               ap->vlgrp->vlan_devices[vid] = NULL;
-
+       vlan_group_set_device(ap->vlgrp, vid, NULL);
        ace_unmask_irq(dev);
        local_irq_restore(flags);
 }