Re: [net-next PATCH 2/3 v1] net: dsa: rtl8366: Fix VLAN set-up

2020-07-08 Thread Florian Fainelli
On 7/8/2020 1:44 PM, Linus Walleij wrote: > Alter the rtl8366_vlan_add() to call rtl8366_set_vlan() > inside the loop that goes over all VIDs since we now > properly support calling that function more than once. > Augment the loop to postincrement as this is more > intuitive. > > The loop moved

[net-next PATCH 2/3 v1] net: dsa: rtl8366: Fix VLAN set-up

2020-07-08 Thread Linus Walleij
Alter the rtl8366_vlan_add() to call rtl8366_set_vlan() inside the loop that goes over all VIDs since we now properly support calling that function more than once. Augment the loop to postincrement as this is more intuitive. The loop moved past the last VID but called rtl8366_set_vlan() with the p