[OpenWrt-Devel] [PATCH 3/5] lantiq/xrx200-net: fix VID max value

Martin Schiller mschiller at tdt.de
Thu Feb 18 08:13:14 EST 2016


The correct possible VID range is 0-4095.

Signed-off-by: Martin Schiller <mschiller at tdt.de>
---
 .../lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch b/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
index 0b2dae3..531bbd0 100644
--- a/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
+++ b/target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch
@@ -1015,10 +1015,10 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net
 +	{
 +		.type = SWITCH_TYPE_INT,
 +		.name = "vid",
-+		.description = "VLAN ID (0-4094)",
++		.description = "VLAN ID (0-4095)",
 +		.set = xrx200sw_set_vlan_vid,
 +		.get = xrx200sw_get_vlan_vid,
-+		.max = 4094,
++		.max = 4095,
 +	},
 +	{
 +		.type = SWITCH_TYPE_INT,
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list