diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:41:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:41:51 +0000 |
commit | ae7769af49f1e104e701ff96e51b4c3a655ba2b6 (patch) | |
tree | 84c0c90745bad8b498f05a9e5e3ce730180986c9 /target/linux/generic/patches-3.14/301-mips_image_cmdline_hack.patch | |
parent | f1b7de863d1b26361784b6c0f02bef3900b1239d (diff) | |
download | upstream-ae7769af49f1e104e701ff96e51b4c3a655ba2b6.tar.gz upstream-ae7769af49f1e104e701ff96e51b4c3a655ba2b6.tar.bz2 upstream-ae7769af49f1e104e701ff96e51b4c3a655ba2b6.zip |
ar8216: fix ATU flushing
The functionality to flush the address translation table contains two bugs
which luckily compensate each other.
1. Just setting the operation is not sufficient to perform the flushing.
The "active" bit needs to be set to actually trigger an action.
For the vtu operations this is implemented correctly.
2. ar8xxx_phy_read_status is called every 2s by the phy state machine
to check for link changes. This would have caused an ATU flush
every 2s.
Fix the chip-specific ATU flush functions and remove the ATU flush call
from ar8xxx_phy_read_status.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44101 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.14/301-mips_image_cmdline_hack.patch')
0 files changed, 0 insertions, 0 deletions