mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
generic: rtl8366: enable vlans before enabling the ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user