lede/package/kernel/rtw88-usb/patches/101-wireless-5.14.patch
AmadeusGhost 0973fa001a rtw88-usb: remove upstream patches
No functional changes.
2023-02-14 23:53:30 +08:00

12 lines
480 B
Diff

--- a/mac80211.c
+++ b/mac80211.c
@@ -698,7 +698,7 @@ static void rtw_ops_sw_scan_complete(struct ieee80211_hw *hw,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
static void rtw_ops_mgd_prepare_tx(struct ieee80211_hw *hw,
struct ieee80211_vif *vif,
- #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0))
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0)) || defined(BUILD_OPENWRT)
struct ieee80211_prep_tx_info *info)
#else
u16 duration)