File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
source/portable/NetworkInterface/DriverSAM Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -652,11 +652,11 @@ static BaseType_t prvSAM_NetworkInterfaceOutput( NetworkInterface_t * pxInterfac
652652 {
653653 TX_STAT_INCREMENT ( tx_write_fail );
654654
655- /* On a successful write to GMAC, the ownership of the TX descriptor will eventually get returned back to the network
656- * driver and prvEMACHandlerTask will give back the xTXDescriptorSemaphore counting semaphore. In this case however,
657- * writing to the GMAC failed, so there will be no EMAC_IF_TX_EVENT sent to prvEMACHandlerTask and the counting
658- * semaphore will not be given back. Give it back now. */
659- xSemaphoreGive ( xTXDescriptorSemaphore );
655+ /* On a successful write to GMAC, the ownership of the TX descriptor will eventually get returned back to the network
656+ * driver and prvEMACHandlerTask will give back the xTXDescriptorSemaphore counting semaphore. In this case however,
657+ * writing to the GMAC failed, so there will be no EMAC_IF_TX_EVENT sent to prvEMACHandlerTask and the counting
658+ * semaphore will not be given back. Give it back now. */
659+ xSemaphoreGive ( xTXDescriptorSemaphore );
660660 }
661661
662662 #if ( ipconfigZERO_COPY_TX_DRIVER != 0 )
You can’t perform that action at this time.
0 commit comments