aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/470-survey_data_fallback.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-01-17 20:57:04 +0100
committerDavid Bauer <mail@david-bauer.net>2022-02-08 00:21:27 +0100
commitadb8c09a83d3f8e1d9e9fcbb8189b415ac0f6e86 (patch)
treed7c2d909a4d295656261217e6fee0e1edf42f604 /package/network/services/hostapd/patches/470-survey_data_fallback.patch
parentae75541594c1802be16140aeb59254e1c75fe7a8 (diff)
downloadupstream-adb8c09a83d3f8e1d9e9fcbb8189b415ac0f6e86.tar.gz
upstream-adb8c09a83d3f8e1d9e9fcbb8189b415ac0f6e86.tar.bz2
upstream-adb8c09a83d3f8e1d9e9fcbb8189b415ac0f6e86.zip
hostapd: update to v2.10
Upstreamed patches: 020-mesh-make-forwarding-configurable.patch e6db1bc5da3fd7d5f4dba24aa102543b4749912f 550-WNM-allow-specifying-dialog-token.patch 979f19716539362f8ce60a77bf1b88fdcf5ba8e5 720-ACS-fix-channel-100-frequency.patch 2341585c349231af00cdef8d51458df01bc6965f 741-proxyarp-fix-compilation-with-Hotspot-2.0-disabled.patch 08bdf4f90de61a84ed8f4dd918272dd9d36e2e1f Compile-tested: wpad-wolfssl hostapd-openssl Run-tested: ath79-generic Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/network/services/hostapd/patches/470-survey_data_fallback.patch')
-rw-r--r--package/network/services/hostapd/patches/470-survey_data_fallback.patch22
1 files changed, 1 insertions, 21 deletions
diff --git a/package/network/services/hostapd/patches/470-survey_data_fallback.patch b/package/network/services/hostapd/patches/470-survey_data_fallback.patch
index efd82599d3..359b5f3ef8 100644
--- a/package/network/services/hostapd/patches/470-survey_data_fallback.patch
+++ b/package/network/services/hostapd/patches/470-survey_data_fallback.patch
@@ -1,26 +1,6 @@
--- a/src/ap/acs.c
+++ b/src/ap/acs.c
-@@ -302,18 +302,12 @@ static void acs_fail(struct hostapd_ifac
- static long double
- acs_survey_interference_factor(struct freq_survey *survey, s8 min_nf)
- {
-- long double factor, busy, total;
-+ long double factor, busy = 0, total;
-
- if (survey->filled & SURVEY_HAS_CHAN_TIME_BUSY)
- busy = survey->channel_time_busy;
- else if (survey->filled & SURVEY_HAS_CHAN_TIME_RX)
- busy = survey->channel_time_rx;
-- else {
-- /* This shouldn't really happen as survey data is checked in
-- * acs_sanity_check() */
-- wpa_printf(MSG_ERROR, "ACS: Survey data missing");
-- return 0;
-- }
-
- total = survey->channel_time;
-
-@@ -422,20 +416,19 @@ static int acs_usable_bw160_chan(const s
+@@ -420,20 +420,19 @@ static int acs_usable_bw160_chan(const s
static int acs_survey_is_sufficient(struct freq_survey *survey)
{
if (!(survey->filled & SURVEY_HAS_NF)) {