git: 4b146555d39d - main - rtw88: Fix typo in portability glue

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 20 Jun 2026 00:24:49 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4b146555d39d9fb826bf4524df9e00eb8dad2bfe

commit 4b146555d39d9fb826bf4524df9e00eb8dad2bfe
Author:     Lambert Lim <lambert@sanesecurityguy.com>
AuthorDate: 2026-06-05 09:00:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-06-20 00:23:28 +0000

    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
---
 sys/contrib/dev/rtw88/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,},