net: lib: capture: Fix build error
The CONFIG_ prefix was missed. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
7128e33796
commit
cef6b69a39
|
@ -42,7 +42,8 @@ NET_PKT_SLAB_DEFINE(capture_pkts, CONFIG_NET_CAPTURE_PKT_COUNT);
|
|||
NET_BUF_POOL_FIXED_DEFINE(capture_bufs, CONFIG_NET_CAPTURE_BUF_COUNT,
|
||||
CONFIG_NET_BUF_DATA_SIZE, 4, NULL);
|
||||
#else
|
||||
#define DATA_POOL_SIZE MAX(NET_PKT_BUF_RX_DATA_POOL_SIZE, NET_PKT_BUF_TX_DATA_POOL_SIZE)
|
||||
#define DATA_POOL_SIZE MAX(CONFIG_NET_PKT_BUF_RX_DATA_POOL_SIZE, \
|
||||
CONFIG_NET_PKT_BUF_TX_DATA_POOL_SIZE)
|
||||
|
||||
NET_BUF_POOL_VAR_DEFINE(capture_bufs, CONFIG_NET_CAPTURE_BUF_COUNT,
|
||||
DATA_POOL_SIZE, 4, NULL);
|
||||
|
|
Loading…
Reference in New Issue