diff --git a/net/udp/udp_psock_sendto_buffered.c b/net/udp/udp_psock_sendto_buffered.c index 0705787db0..f95467a575 100644 --- a/net/udp/udp_psock_sendto_buffered.c +++ b/net/udp/udp_psock_sendto_buffered.c @@ -168,7 +168,7 @@ static void sendto_writebuffer_release(FAR struct socket *psock, psock->s_sndcb->event = NULL; wrb = NULL; -#ifdef CONFIG_TCP_NOTIFIER +#ifdef CONFIG_UDP_NOTIFIER /* Notify any waiters that the write buffers have been drained. */ udp_writebuffer_signal(conn);