net: dsa: tag_mtk: fix 802.1ad VLAN egress
authorDENG Qingfang <dqfext@gmail.com>
Mon, 1 Mar 2021 16:01:59 +0000 (00:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Mar 2021 23:29:43 +0000 (15:29 -0800)
commit9200f515c41f4cbaeffd8fdd1d8b6373a18b1b67
tree3d2a7dbb170fd7b741bd2bc2af4316dc6887f02f
parentb228c9b058760500fda5edb3134527f629fc2dc3
net: dsa: tag_mtk: fix 802.1ad VLAN egress

A different TPID bit is used for 802.1ad VLAN frames.

Reported-by: Ilario Gelmetti <iochesonome@gmail.com>
Fixes: f0af34317f4b ("net: dsa: mediatek: combine MediaTek tag with VLAN tag")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_mtk.c