Skip to content
Snippets Groups Projects
Commit dc7a1e85 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

ramips: fix reporting effective VLAN ID on MT7621 switches


On MT7621, the REG_ESW_VLAN_VTIM reads are undefined, causing swconfig
to always report `vid: 0` in swconfig show output.

Since a 4K VLAN table is used on this platform, the VLAN ID always
correponds to the actual VLAN table index so provide a specific MT7621
implementation of the get_vid callback which returns the table index
as VLAN ID.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 341b1427
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment