mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 14:23:38 +00:00
15 lines
393 B
Diff
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;
|
|
|