ar8216: adjust ATU flushing in case of link changes
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jul 2015 08:17:36 +0000 (08:17 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Jul 2015 08:17:36 +0000 (08:17 +0000)
commitef54bfd6c8c82e865dd2f6c80b378a0c0f772ffc
treea325c46d9818ef34077cd60e8432c09109254b09
parent76b283c54ee65ff8b5e87ab8b06042b2c77461c5
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46381 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c