From c8db6d9e9d002f5525c1cf76d23e3f59646152e8 Mon Sep 17 00:00:00 2001 From: Patrick Walther Date: Thu, 22 Sep 2022 14:29:37 +0200 Subject: [PATCH] FIX: [mac80211] fix openwrt subsys patch for kernel 5.10 BugzId: 78943 --- .../0002-backport-of-subsys-patches-from-openwrt.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-kernel/mac80211/mac80211/0002-backport-of-subsys-patches-from-openwrt.patch b/recipes-kernel/mac80211/mac80211/0002-backport-of-subsys-patches-from-openwrt.patch index 8237145..5b01906 100644 --- a/recipes-kernel/mac80211/mac80211/0002-backport-of-subsys-patches-from-openwrt.patch +++ b/recipes-kernel/mac80211/mac80211/0002-backport-of-subsys-patches-from-openwrt.patch @@ -369,7 +369,7 @@ index a331431..c85050f 100644 struct ieee80211_sta *sta, u8 flowid); + int (*set_radar_background)(struct ieee80211_hw *hw, + struct cfg80211_chan_def *chandef); -+#if LINUX_VERSION_IS_GEQ(5,10,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) + int (*net_fill_forward_path)(struct ieee80211_hw *hw, + struct ieee80211_vif *vif, + struct ieee80211_sta *sta, @@ -1266,7 +1266,7 @@ index 912c75d..2df420b 100644 trace_drv_return_void(local); } -+#if LINUX_VERSION_IS_GEQ(5,10,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) +static inline int drv_net_fill_forward_path(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata, + struct ieee80211_sta *sta, @@ -1657,7 +1657,7 @@ index b6dc214..b777921 100644 }; -+#if LINUX_VERSION_IS_GEQ(5,10,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) +static int ieee80211_netdev_fill_forward_path(struct net_device_path_ctx *ctx, + struct net_device_path *path) +{ @@ -1725,7 +1725,7 @@ index b6dc214..b777921 100644 .ndo_get_stats64 = bp_ieee80211_get_stats64, #endif - -+#if LINUX_VERSION_IS_GEQ(5,10,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) + .ndo_fill_forward_path = ieee80211_netdev_fill_forward_path, +#endif }; @@ -2332,7 +2332,7 @@ index 9e8381b..bbda9e9 100644 ) ); -+#if LINUX_VERSION_IS_GEQ(5,10,0) ++#if LINUX_VERSION_IS_GEQ(5,13,0) +DEFINE_EVENT(sta_event, drv_net_fill_forward_path, + TP_PROTO(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata,