From 47ca10d690e04b1b95828adb8ce73fbb962c5f4e Mon Sep 17 00:00:00 2001 From: "misha.gps" Date: Tue, 2 Nov 2021 15:02:44 +0200 Subject: [PATCH] fixed wrong condition in nlrtw.c --- os_dep/linux/nlrtw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/linux/nlrtw.c b/os_dep/linux/nlrtw.c index 5242b79..670738f 100644 --- a/os_dep/linux/nlrtw.c +++ b/os_dep/linux/nlrtw.c @@ -108,7 +108,7 @@ static struct genl_ops nlrtw_genl_ops[] = { { .cmd = NLRTW_CMD_CHANNEL_UTILIZATION, .flags = 0, -#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) || !defined(RHEL8)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0) && !defined(RHEL8)) .policy = nlrtw_genl_policy, #endif .doit = nlrtw_ch_util_set,