ar8216: adjust ATU flushing in case of link changes
authorFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:36 +0000 (08:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 15 Jul 2015 08:17:36 +0000 (08:17 +0000)
commit33b72b8e0faf7a39faabece584fd6da61cd8f8df
tree40d0eb7a18d2abbe14e6639da2085a063064ea38
parent00e599b0b7ff50c78a1b6ac2f2db1478f6bca358
ar8216: adjust ATU flushing in case of link changes

If a link goes down, don't flush the complete ARL table.
Only flush the entries for the respective port.
Don't touch ARL table if a link goes up.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 46381
target/linux/generic/files/drivers/net/phy/ar8216.c