aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 4b3b7d5b121b..90ed39bb2cff 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -2425,7 +2425,7 @@ const struct ifcap_nv_bit_name ifcap_nv_bit_names[] = {
CAPNV(TXTLS_RTLMT),
{0, NULL}
};
-#define CAP2NV(x) {.cap_bit = IFCAP2_##x, \
+#define CAP2NV(x) {.cap_bit = IFCAP2_BIT(IFCAP2_##x), \
.cap_name = __CONCAT(IFCAP2_, __CONCAT(x, _NAME)) }
const struct ifcap_nv_bit_name ifcap2_nv_bit_names[] = {
CAP2NV(RXTLS4),