hostapd: bump to 2024-05-10
[openwrt/staging/xback.git] / package / network / services / hostapd / patches / 182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch
diff --git a/package/network/services/hostapd/patches/182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch b/package/network/services/hostapd/patches/182-nl80211-move-nl80211_put_freq_params-call-outside-of.patch
deleted file mode 100644 (file)
index e875a82..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From: Felix Fietkau <nbd@nbd.name>
-Date: Mon, 18 Sep 2023 16:47:41 +0200
-Subject: [PATCH] nl80211: move nl80211_put_freq_params call outside of
- 802.11ax #ifdef
-
-The relevance of this call is not specific to 802.11ax, so it should be done
-even with CONFIG_IEEE80211AX disabled.
-
-Fixes: b3921db426ea ("nl80211: Add frequency info in start AP command")
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
----
-
---- a/src/drivers/driver_nl80211.c
-+++ b/src/drivers/driver_nl80211.c
-@@ -5315,6 +5315,9 @@ static int wpa_driver_nl80211_set_ap(voi
-               nla_nest_end(msg, ftm);
-       }
-+      if (params->freq && nl80211_put_freq_params(msg, params->freq) < 0)
-+              goto fail;
-+
- #ifdef CONFIG_IEEE80211AX
-       if (params->he_spr_ctrl) {
-               struct nlattr *spr;
-@@ -5349,9 +5352,6 @@ static int wpa_driver_nl80211_set_ap(voi
-               nla_nest_end(msg, spr);
-       }
--      if (params->freq && nl80211_put_freq_params(msg, params->freq) < 0)
--              goto fail;
--
-       if (params->freq && params->freq->he_enabled &&
-           nl80211_attr_supported(drv, NL80211_ATTR_HE_BSS_COLOR)) {
-               struct nlattr *bss_color;