mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00

Removed, merged upstream:
- 170-wpa_supplicant-fix-compiling-without-IEEE8021X_EAPOL.patch
Manually refreshed:
- 040-mesh-allow-processing-authentication-frames-in-block.patch
- 600-ubus_support.patch
- 761-shared_das_port.patch
Fixes: a091a96
("hostapd: always enable nl80211 driver support")
Signed-off-by: Andre Heider <a.heider@gmail.com>
31 lines
839 B
Diff
31 lines
839 B
Diff
--- a/src/ap/acs.c
|
|
+++ b/src/ap/acs.c
|
|
@@ -455,17 +455,17 @@ static int acs_get_bw_center_chan(int fr
|
|
static int acs_survey_is_sufficient(struct freq_survey *survey)
|
|
{
|
|
if (!(survey->filled & SURVEY_HAS_NF)) {
|
|
+ survey->nf = -95;
|
|
wpa_printf(MSG_INFO,
|
|
"ACS: Survey for freq %d is missing noise floor",
|
|
survey->freq);
|
|
- return 0;
|
|
}
|
|
|
|
if (!(survey->filled & SURVEY_HAS_CHAN_TIME)) {
|
|
+ survey->channel_time = 0;
|
|
wpa_printf(MSG_INFO,
|
|
"ACS: Survey for freq %d is missing channel time",
|
|
survey->freq);
|
|
- return 0;
|
|
}
|
|
|
|
if (!(survey->filled & SURVEY_HAS_CHAN_TIME_BUSY) &&
|
|
@@ -473,7 +473,6 @@ static int acs_survey_is_sufficient(stru
|
|
wpa_printf(MSG_INFO,
|
|
"ACS: Survey for freq %d is missing RX and busy time (at least one is required)",
|
|
survey->freq);
|
|
- return 0;
|
|
}
|
|
|
|
return 1;
|