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