diff options
author | John Crispin <john@openwrt.org> | 2016-02-25 10:14:22 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-25 10:14:22 +0000 |
commit | 074cc7ac38e66deb4b44189607ba84035196b371 (patch) | |
tree | bf8ae232a07f2242ecae738d48e8094b143de9c1 /toolchain | |
parent | cb49742f995b6cea4970d74a5cc0f59c904bd3e3 (diff) | |
download | upstream-074cc7ac38e66deb4b44189607ba84035196b371.tar.gz upstream-074cc7ac38e66deb4b44189607ba84035196b371.tar.bz2 upstream-074cc7ac38e66deb4b44189607ba84035196b371.zip |
ramips: mt7620: fix failsafe switch config
As indicated in the bug tracker[1], failsafe mode is broken on at least some
devices using the mt7620 switch (and possibly mt7621). The thread explicitly
mentions the Xiaomi MiWifi, and the Nexx WT3020, and an unspecified device
using the mt7621 switch; the issue also applies to the Netgear EX2700.
The problem is that failsafe mode uses eth0, but enable_vlan is always set to 1
by the switch driver. Connecting to and/or pinging the device fails. This patch
fixes the failsafe preinit config, by making sure that vlan support is disabled.
It currently only fixes the switch config on mt7620, but might apply to the
mt7621 as well, so the patch has been designed with this in mind.
A similar (line wrapped) patch was submitted in December by Simon Peter, but never
accepted and/or discussed.
This patch applies to both Chaos Calmer and trunk.
[1] https://dev.openwrt.org/ticket/18768
Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
SVN-Revision: 48772
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions