aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-03-05 19:42:02 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-03-06 02:49:30 +0000
commit7db8503bda2724ae145475c3260d581bb98613ad (patch)
treef2e0ddfa8309fdc89e43615a05204f479d43b30d
parent782fe2f8d90488a61ecdbe1d4b245900a88bee56 (diff)
iwlwifi: mld: add LINUXKPI_PARAM_PREFIX
Add a LINUXKPI_PARAM_PREFIX to mld to properly export the power_scheme module_param (sysctl). This is especially needed given mvm has the same parameter and we need to avoid a clash. Sponsored by: The FreeBSD Foundation MFC after: 3 days
-rw-r--r--sys/contrib/dev/iwlwifi/mld/mld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/dev/iwlwifi/mld/mld.c b/sys/contrib/dev/iwlwifi/mld/mld.c
index 3df9cabd34de..c2cabe855c01 100644
--- a/sys/contrib/dev/iwlwifi/mld/mld.c
+++ b/sys/contrib/dev/iwlwifi/mld/mld.c
@@ -2,6 +2,10 @@
/*
* Copyright (C) 2024-2025 Intel Corporation
*/
+#if defined(__FreeBSD__)
+#define LINUXKPI_PARAM_PREFIX iwlwifi_mld_
+#endif
+
#include <linux/rtnetlink.h>
#include <net/mac80211.h>