8139cp: fix VLAN unregistration
commit7b332244a63dc1f408fd2ebb2636d58ac69a4916
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 1 Jun 2007 16:43:59 +0000 (1 09:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:44:20 +0000 (3 11:44 -0400)
treef22a724108d8c6ff3433b7b68c65f3925b5d40a0
parent3d4e66f5cd217160da9c3a2e3ec27b22e743bd25
8139cp: fix VLAN unregistration

The 8139cp driver did VLAN unregistration incorrectly.
It disables VLAN completely when the first VID is unregistered. It
should instead disable VLAN when the group is unregistered by calling
cp_vlan_rx_register with a NULL grp.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/8139cp.c