mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
generic: rtl8366: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24943 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8f592bbf61
commit
751ee501af
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user