diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-09 05:36:44 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-09 05:36:44 +0000 |
commit | 751ee501af492fe63ee5fb17ed5fe0c83653ab87 (patch) | |
tree | 6f407b21d9d71788103fe79f1f0e0eabbaa80df8 /target/linux/generic/files | |
parent | 8f592bbf610ca95c3c84b772992a946258c8bcca (diff) | |
download | master-187ad058-751ee501af492fe63ee5fb17ed5fe0c83653ab87.tar.gz master-187ad058-751ee501af492fe63ee5fb17ed5fe0c83653ab87.tar.bz2 master-187ad058-751ee501af492fe63ee5fb17ed5fe0c83653ab87.zip |
generic: rtl8366: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8366_smi.c | 4 |
1 files changed, 2 insertions, 2 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 e34c84c97e..28e1a8505d 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c @@ -1202,12 +1202,12 @@ int rtl8366_smi_init(struct rtl8366_smi *smi) if (err) { dev_err(smi->parent, "VLAN initialization failed, err=%d\n", err); - goto err_disable_hw; + goto err_free_sck; } err = rtl8366_enable_all_ports(smi, 1); if (err) - goto err_disable_hw; + goto err_free_sck; err = rtl8366_smi_mii_init(smi); if (err) |