2
0
forked from Ivasoft/openwrt

ar8216: add link change detection for switch ports

Check for switch port link changes and
- flush ATU in case of a change
- report link change via syslog

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44102
This commit is contained in:
Felix Fietkau
2015-01-24 19:41:55 +00:00
parent 74146c62c0
commit a1fba9dfbe
2 changed files with 36 additions and 0 deletions

View File

@@ -396,6 +396,7 @@ struct ar8xxx_priv {
bool initialized;
bool port4_phy;
char buf[2048];
bool link_up[AR8X16_MAX_PORTS];
bool init;