]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Restore VLAN entries upon (re)configuration
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Mar 2020 21:38:47 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 02:55:42 +0000 (19:55 -0700)
commitda2e3ecec74870498dab5472fab622d376446cf7
tree14a6e50e49688cdea6c1730f2aa076fdabcccf52
parent70bf711249a0ccf2a8efe5694a1e242c2bc987a4
net: dsa: b53: Restore VLAN entries upon (re)configuration

The first time b53_configure_vlan() is called we have not configured any
VLAN entries yet, since that happens later when interfaces get brought
up. When b53_configure_vlan() is called again from suspend/resume we
need to restore all VLAN entries though.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c