mirror of https://github.com/hak5/openwrt-owl.git
parent
505f0e7a86
commit
5641e8233e
|
@ -1202,12 +1202,12 @@ int rtl8366_smi_init(struct rtl8366_smi *smi)
|
||||||
if (err) {
|
if (err) {
|
||||||
dev_err(smi->parent, "VLAN initialization failed, err=%d\n",
|
dev_err(smi->parent, "VLAN initialization failed, err=%d\n",
|
||||||
err);
|
err);
|
||||||
goto err_disable_hw;
|
goto err_free_sck;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = rtl8366_enable_all_ports(smi, 1);
|
err = rtl8366_enable_all_ports(smi, 1);
|
||||||
if (err)
|
if (err)
|
||||||
goto err_disable_hw;
|
goto err_free_sck;
|
||||||
|
|
||||||
err = rtl8366_smi_mii_init(smi);
|
err = rtl8366_smi_mii_init(smi);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in New Issue