ralink: use fe_max_buf_size to get rx buffer size
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Jan 2015 22:45:16 +0000 (22:45 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 24 Jan 2015 22:45:16 +0000 (22:45 +0000)
commitbc396693af9bae7efcfa6d653d8ab64d7bd0aba9
tree70571bc3d44645be5eb34a02aa56e82ce604fe69
parenta5dd4efc7741996b9b26cd8f6d190b94c67b7372
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