2
0
forked from Ivasoft/openwrt

generic: rtl8366: enable vlans before enabling the ports

SVN-Revision: 24939
This commit is contained in:
Gabor Juhos
2011-01-08 20:24:29 +00:00
parent c16715f8d2
commit 792a1fb2c0
4 changed files with 11 additions and 1 deletions

View File

@@ -448,7 +448,7 @@ static int rtl8366_set_pvid(struct rtl8366_smi *smi, unsigned port,
return -ENOSPC;
}
static int rtl8366_enable_vlan(struct rtl8366_smi *smi, int enable)
int rtl8366_enable_vlan(struct rtl8366_smi *smi, int enable)
{
int err;
@@ -465,6 +465,7 @@ static int rtl8366_enable_vlan(struct rtl8366_smi *smi, int enable)
return err;
}
EXPORT_SYMBOL_GPL(rtl8366_enable_vlan);
static int rtl8366_enable_vlan4k(struct rtl8366_smi *smi, int enable)
{