stmmac: only remove RXCSUM feature if no rx coe is available
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 1 Sep 2014 07:17:53 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 04:51:29 +0000 (21:51 -0700)
In case of the HW is not able to do the receive checksum offloading
the only feature to remove is NETIF_F_RXCSUM.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found