mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar8216: fix transmission of large frames by setting the switch mtu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16629 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -488,6 +488,10 @@ ar8216_reset_switch(struct switch_dev *dev)
|
||||
}
|
||||
/* XXX: undocumented magic from atheros, required! */
|
||||
priv->write(priv, 0x38, 0xc000050e);
|
||||
|
||||
ar8216_rmw(priv, AR8216_REG_GLOBAL_CTRL,
|
||||
AR8216_GCTRL_MTU, 1518 + 8 + 2);
|
||||
|
||||
return ar8216_hw_apply(dev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user