diff options
Diffstat (limited to 'nuttx/net/uip/uip-poll.c')
-rw-r--r-- | nuttx/net/uip/uip-poll.c | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/nuttx/net/uip/uip-poll.c b/nuttx/net/uip/uip-poll.c index 22a641ce1..19dc16a5a 100644 --- a/nuttx/net/uip/uip-poll.c +++ b/nuttx/net/uip/uip-poll.c @@ -59,32 +59,11 @@ ****************************************************************************/ /**************************************************************************** - * Name: uip_udppoll() - * - * Description: - * Periodic processing for a UDP connection identified by its number. - * This function does the necessary periodic processing (timers, - * polling) for a uIP TCP conneciton, and should be called by the UIP - * device driver when the periodic uIP timer goes off. It should be - * called for every connection, regardless of whether they are open of - * closed. - * - * Assumptions: - * This function is called from the CAN device driver may be called from - * the timer interrupt/watchdog handle level. - * - ****************************************************************************/ - -static inline void uip_udppoll(struct uip_driver_s *dev, unsigned int conn) -{ -} - -/**************************************************************************** * Public Functions ****************************************************************************/ /**************************************************************************** - * Function: uip-poll + * Function: uip_poll * * Description: * This function will traverse each active uIP connection structure and @@ -143,15 +122,13 @@ int uip_poll(struct uip_driver_s *dev, uip_poll_callback_t callback, int event) udp_conn = NULL; while ((udp_conn = uip_nextudpconn(udp_conn))) { - uip_udp_conn = udp_conn; - uip_interrupt(dev, UIP_DRV_UDPPOLL); + uip_udppoll(dev, udp_conn); if (callback(dev)) { irqrestore(flags); return 1; } } - uip_udp_conn = NULL; #endif /* CONFIG_NET_UDP */ irqrestore(flags); |