All of lore.kernel.org
 help / color / mirror / Atom feed
* rtw88 (https://github.com/lwfinger/rtw88) / compile error since 5.15?
@ 2021-12-31 17:07 Klaus Mueller
  0 siblings, 0 replies; only message in thread
From: Klaus Mueller @ 2021-12-31 17:07 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

Hello,

I found an error compiling rtw88 w/ kernel 5.15(.12). The attached short patch fixes it (works for me). Could you please apply a better patch?


Thanks
Klaus

[-- Attachment #2: rtw88_mac80211.c.diff --]
[-- Type: text/x-patch, Size: 641 bytes --]

--- mac80211.c.orig	2021-05-26 22:03:18.636003469 +0200
+++ mac80211.c	2021-12-31 15:21:01.243896526 +0100
@@ -655,13 +655,14 @@
 	mutex_unlock(&rtwdev->mutex);
 }
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
 static void rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw,
 				   struct ieee80211_vif *vif,
-				   u16 duration)
+				   struct ieee80211_prep_tx_info *info)
 #else
 static void rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw,
-				   struct ieee80211_vif *vif)
+				   struct ieee80211_vif *vif,
+				   u16 duration)
 #endif
 {
 	struct rtw_dev *rtwdev = hw->priv;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-31 17:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 17:07 rtw88 (https://github.com/lwfinger/rtw88) / compile error since 5.15? Klaus Mueller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.