Kinetis enet: leave the write buffer wrap bit alone. The wrap buffer bit is initialized when the buffers are set up and should not be changed later

This commit is contained in:
Andrew Webster 2016-01-21 18:49:23 -06:00 committed by Gregory Nutt
parent 6ba74a281a
commit 36408697ca

View File

@ -386,7 +386,7 @@ static int kinetis_transmit(FAR struct kinetis_driver_s *priv)
txdesc->bdu = 0x00000000;
txdesc->status2 = TXDESC_INT | TXDESC_TS; /* | TXDESC_IINS | TXDESC_PINS; */
#endif
txdesc->status1 = (TXDESC_R | TXDESC_L | TXDESC_TC | TXDESC_W);
txdesc->status1 |= (TXDESC_R | TXDESC_L | TXDESC_TC);
/* Start the TX transfer (if it was not already waiting for buffers) */