generic: rtl8366: enable vlans before enabling the ports

SVN-Revision: 24939
This commit is contained in:
Gabor Juhos
2011-01-08 20:24:29 +00:00
parent c16715f8d2
commit 792a1fb2c0
4 changed files with 11 additions and 1 deletions

View File

@@ -809,6 +809,10 @@ static int rtl8366s_sw_reset_switch(struct switch_dev *dev)
if (err)
return err;
err = rtl8366_enable_vlan(smi, 1);
if (err)
return err;
return rtl8366_enable_all_ports(smi, 1);
}