s2io: Fix enabling VLAN tag stripping at driver initialization
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 4 Sep 2008 20:52:54 +0000 (17:52 -0300)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:49:04 +0000 (18:49 -0400)
commitcd0fce0322cd10ab39ace584be12f809988a1b9a
tree0eb4f09a6b9c79c87c222df11e9b89064b364038
parent52845c3fd80c09f8ceac54513ae9cffac219cff7
s2io: Fix enabling VLAN tag stripping at driver initialization

VLAN doesn't work except if you'd opened the interface in promiscuous
mode before.  This happens because VLAN tag stripping is not correctly
marked as enabled at device startup

Also, the vlan_strip_flag field was moved to the private network
structure.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/s2io.c
drivers/net/s2io.h