File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -4594,16 +4594,10 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
45944594 size_t uxDataLength ,
45954595 BaseType_t xFlags )
45964596 {
4597- BaseType_t xByteCount = - pdFREERTOS_ERRNO_EINVAL ;
4597+ BaseType_t xByteCount ;
45984598 FreeRTOS_Socket_t * pxSocket = ( FreeRTOS_Socket_t * ) xSocket ;
45994599
4600- if ( pvBuffer != NULL )
4601- {
4602- /* Check if this is a valid TCP socket, affirm that it is not closed or closing,
4603- * affirm that there was not malloc-problem, test if uxDataLength is non-zero,
4604- * and if the connection is not in a confirmed FIN state. */
4605- xByteCount = ( BaseType_t ) prvTCPSendCheck ( pxSocket , uxDataLength );
4606- }
4600+ xByteCount = ( BaseType_t ) prvTCPSendCheck ( pxSocket , uxDataLength );
46074601
46084602 if ( xByteCount > 0 )
46094603 {
You can’t perform that action at this time.
0 commit comments