mac80211: add #if guards against 5.4 compile failures
[openwrt/staging/hauke.git] / package / kernel / mac80211 / patches / subsys / 320-cfg80211-rename-offchannel_chain-structs-to-backgrou.patch
index ce4611b145199ed192b96a7b647232b374fabdfd..a73e81bec63a927ad500fe572af2cf0b3f31d181 100644 (file)
@@ -107,9 +107,9 @@ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
 -                               struct cfg80211_chan_def *chandef);
 +      int (*set_radar_background)(struct ieee80211_hw *hw,
 +                                  struct cfg80211_chan_def *chandef);
+ #if LINUX_VERSION_IS_GEQ(5,10,0)
        int (*net_fill_forward_path)(struct ieee80211_hw *hw,
                                     struct ieee80211_vif *vif,
-                                    struct ieee80211_sta *sta,
 --- a/include/uapi/linux/nl80211.h
 +++ b/include/uapi/linux/nl80211.h
 @@ -2608,10 +2608,10 @@ enum nl80211_commands {