stmmac: fix TX normal DESC
authorGiuseppe CAVALLARO <[email protected]>
Fri, 1 Apr 2016 07:07:14 +0000 (09:07 +0200)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Tested-by: Andreas Färber <[email protected]>
Cc: Fabrice Gasnier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/stmicro/stmmac/norm_desc.c