summaryrefslogtreecommitdiff
path: root/nuttx/net/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/connect.c')
-rw-r--r--nuttx/net/connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/net/connect.c b/nuttx/net/connect.c
index 56aee612c..d4f40b30f 100644
--- a/nuttx/net/connect.c
+++ b/nuttx/net/connect.c
@@ -259,7 +259,8 @@ static uint8 tcp_connect_interrupt(struct uip_driver_s *dev,
sem_post(&pstate->tc_sem);
}
- return 0;
+
+ return flags;
}
/****************************************************************************