stmmac: fix TX normal DESC
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 1 Apr 2016 07:07:14 +0000 (09:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2016 18:38:58 +0000 (14:38 -0400)
commita00e3ab64be2e482bd25fe30bdc9bfa6e2b0cf1c
tree2c28bf43b65edfc75c7ff4f41a621c0b45389040
parentc66e98c9532bf7b58fe78cc59fb37d3ff651756d
stmmac: fix TX normal DESC

This patch fixs a regression raised when test on chips that use
the normal descriptor layout. In fact, no len bits were set for
the TDES1 and no OWN bit inside the TDES0.

Signed-off-by: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Cc: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/norm_desc.c