*\r
* Copyright (c) 2012-2014, ARM Limited. All rights reserved.\r
*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+* SPDX-License-Identifier: BSD-2-Clause-Patent\r
*\r
**/\r
\r
LanDriver->Stats.TxTotalFrames += 1;\r
*TxBuff = LanDriver->TxRing[PacketTag % LAN9118_TX_RING_NUM_ENTRIES];\r
}\r
+ } else if (TxBuff != NULL) {\r
+ *TxBuff = NULL;\r
}\r
\r
// Check for a TX Error interrupt\r
}\r
\r
//\r
- // Restart the receiver and the transmitter without reseting the FIFOs\r
+ // Restart the receiver and the transmitter without resetting the FIFOs\r
// as it has been done by SoftReset().\r
//\r
StartRx (0, Snp);\r