ralink: use fe_max_buf_size to get rx buffer size
authorFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 22:45:16 +0000 (22:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 24 Jan 2015 22:45:16 +0000 (22:45 +0000)
commit2bc783064dfb9ca0b61ce27c4b46e4816ec5e1a8
tree70571bc3d44645be5eb34a02aa56e82ce604fe69
parentff3864e8a42485bafb5d082e513e8177d593b429
ralink: use fe_max_buf_size to get rx buffer size

the rx_buf_size now is 1534 when mtu is 1500.
the ethernet frame with vlan tag and FCS is 1522.
so the buffer is enough.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44116 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c