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
--- 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;