aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLambert Lim <lambert@sanesecurityguy.com>2026-06-05 09:00:20 +0000
committerWarner Losh <imp@FreeBSD.org>2026-06-20 00:23:28 +0000
commit4b146555d39d9fb826bf4524df9e00eb8dad2bfe (patch)
tree4a8ee4136b25af6f4091f6161c24f558d15b02e3
parent255538cd906045095d0c2113ae6c4731ce36c0cf (diff)
rtw88: Fix typo in portability glue
Fix typo in if statement for compiling rtw88 against a Linux target. Signed-off-by: Lambert Lim <lambert@sanesecurityguy.com> Reviewed by: imp,ziaee Pull Request: https://github.com/freebsd/freebsd-src/pull/2262
-rw-r--r--sys/contrib/dev/rtw88/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/rtw88/main.c b/sys/contrib/dev/rtw88/main.c
index 43d537d0daba..a5760694a57a 100644
--- a/sys/contrib/dev/rtw88/main.c
+++ b/sys/contrib/dev/rtw88/main.c
@@ -112,7 +112,7 @@ static struct ieee80211_channel rtw_channeltable_5g[] = {
RTW88_DEF_CHAN_5G(5805, 161),
RTW88_DEF_CHAN_5G_NO_HT40MINUS(5825, 165),
};
-#elif deifned(__linux__)
+#elif defined(__linux__)
static struct ieee80211_channel rtw_channeltable_2g[] = {
{.center_freq = 2412, .hw_value = 1,},
{.center_freq = 2417, .hw_value = 2,},