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)
commite634e07893e25abef74ea3d194e130a3772580b5
tree4d685a04855c299f1297151cb090376e70c5f3ba
parent5d4837706aeca469368c0dbb8802b9fa919c8a7c
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>
SVN-Revision: 44116
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c