sky2: Fix VLAN unregistration
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 1 Jun 2007 16:43:58 +0000 (09:43 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Jun 2007 15:44:19 +0000 (11:44 -0400)
commit3d4e66f5cd217160da9c3a2e3ec27b22e743bd25
treee8b53f1ef8ae367f7b1b40f2a2584af017f6ab5b
parentd2d1acdb6a632486be9a731f40c68980c09f0490
sky2: Fix VLAN unregistration

Fix sky2 disabling VLAN completely when the first vid is unregistered.

sky2 disables VLAN completely when the first VID is unregistered. It
should instead disable VLAN when the group is unregistered by calling
sky2_vlan_rx_register with grp = NULL.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
 drivers/net/sky2.c |   25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c