]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: selftests: Mark as fail when received VLAN ID != expected
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 14 Jan 2020 16:09:22 +0000 (17:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 22:11:18 +0000 (23:11 +0100)
commit1241e1fa6b1e0714c468bdfafe860811eaab0f3e
tree89e94a37369d021f7b6c9aeeb4f83224fc187281
parenteaf7095a150200090cc6cab8a07b13e1286e0b16
net: stmmac: selftests: Mark as fail when received VLAN ID != expected

When the VLAN ID does not match the expected one it means filter failed
in HW. Fix it.

Fixes: d0b419b76131 ("net: stmmac: selftests: Add selftest for VLAN TX Offload")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c