lede/package/kernel/rtw88-usb/patches/101-wireless-5.14.patch
AmadeusGhost 09c81d9274 rtw88: move usb part out of backport tree
Create a useless driver to avoid affecting the
backport tree.
2022-12-16 12:09:00 +08:00

15 lines
393 B
Diff

--- a/mac80211.c
+++ b/mac80211.c
@@ -614,7 +614,11 @@ static void rtw_ops_sw_scan_complete(struct ieee80211_hw *hw,
static void rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0))
+ struct ieee80211_prep_tx_info *info)
+#else
u16 duration)
+#endif
{
struct rtw_dev *rtwdev = hw->priv;