diff --git a/mm/iob/iob_alloc.c b/mm/iob/iob_alloc.c index 9eb822b9867..5674948e2c9 100644 --- a/mm/iob/iob_alloc.c +++ b/mm/iob/iob_alloc.c @@ -96,7 +96,7 @@ static FAR struct iob_s *iob_alloc_committed(void) iob->io_len = 0; /* Length of the data in the entry */ iob->io_offset = 0; /* Offset to the beginning of data */ iob->io_pktlen = 0; /* Total length of the packet */ -#ifdef CONFIG_NET_TIMESTAMPING +#ifdef CONFIG_NET_TIMESTAMP iob->io_conn = NULL; #endif } @@ -138,7 +138,7 @@ static FAR struct iob_s *iob_tryalloc_internal(bool throttled) iob->io_len = 0; /* Length of the data in the entry */ iob->io_offset = 0; /* Offset to the beginning of data */ iob->io_pktlen = 0; /* Total length of the packet */ -#ifdef CONFIG_NET_TIMESTAMPING +#ifdef CONFIG_NET_TIMESTAMP iob->io_conn = NULL; #endif return iob;