diff options
author | Jan Hoffmann <jan@3e8.eu> | 2023-05-06 19:28:55 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2023-05-07 19:07:34 +0200 |
commit | 8ea27bb959b2181a3f3ca08d3f11b2a116960c87 (patch) | |
tree | 7a144919a13bbd8e52ad204a8a7c7f36729464f6 /target/linux/apm821xx/image/Makefile | |
parent | 5d34fc92eccc7d8f3fd35fd5841c110ca1aefc13 (diff) | |
download | upstream-8ea27bb959b2181a3f3ca08d3f11b2a116960c87.tar.gz upstream-8ea27bb959b2181a3f3ca08d3f11b2a116960c87.tar.bz2 upstream-8ea27bb959b2181a3f3ca08d3f11b2a116960c87.zip |
realtek: handle changed flags in VLAN configuration
The port_vlan_add method may be called while a port is already a member
of that VLAN, so it needs to be able to handle changed flags. Fix it to
properly handle when the PVID or UNTAGGED flag was previously set, but
now no longer is.
To reduce duplication, move PVID configuration to a separate function.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'target/linux/apm821xx/image/Makefile')
0 files changed, 0 insertions, 0 deletions