]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: rtl8366: Skip PVID setting if not requested
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Sep 2020 22:29:54 +0000 (00:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Sep 2020 21:10:58 +0000 (14:10 -0700)
commitdaf842c92530a1e2be0db315f92148a1672e9889
treebe7e1c274cc8be594a503ec36024ccd90e35d15b
parent244bfbd6c30040905c4d1d19d1951e66c669a04a
net: dsa: rtl8366: Skip PVID setting if not requested

We go to lengths to determine whether the PVID should be set
for this port or not, and then fail to take it into account.
Fix this oversight.

Fixes: 397676d73a0a ("net: dsa: realtek-smi: Add Realtek SMI driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/rtl8366.c