diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 20:24:29 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-08 20:24:29 +0000 |
commit | 83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0 (patch) | |
tree | 75a0d731afdea86205b0665ed164fa64d873de3b /target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | |
parent | 38528d474dbc2478c5a170b4682f997239278d95 (diff) | |
download | upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.tar.gz upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.tar.bz2 upstream-83ed5e6afe27c1f8476c1512ca5b2f47011aa3a0.zip |
generic: rtl8366: enable vlans before enabling the ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8366_smi.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c index f9a332d875..e34c84c97e 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c @@ -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) { |