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)
commitbc8f167fcf8c640e1fd0cfd287acfc017d3bf978
tree70571bc3d44645be5eb34a02aa56e82ce604fe69
parent3afcae54b88543550a72b4877ca362fd1782450c
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