]> git.baikalelectronics.ru Git - kernel.git/commit
8139cp: fix VLAN unregistration
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 1 Jun 2007 16:43:59 +0000 (09:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:44:20 +0000 (11:44 -0400)
commit35d689d6a13528c1eb171070945fbb843baf4646
treef22a724108d8c6ff3433b7b68c65f3925b5d40a0
parente552949f779d1f9ce12780427554508561cc8517
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