]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Fix AV Feature detection
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:03:00 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commitaba70a934a528d09a893c333ff205ff36dff0c8f
treed4cab43dd5c8ce776e094a3e3068bd26426cb919
parenta4c9d475cb47c345e1df032fe45cc6e6570f1698
net: stmmac: xgmac: Fix AV Feature detection

Fix incorrect precedence of operators. For reference: AV implies AV
Feature but RAV implies only RX side AV Feature. As we want full AV
features we need to check RAV.

Fixes: eb524e30a57e ("net: stmmac: xgmac: Correct RAVSEL field interpretation")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c