aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-11-24 17:02:26 +0100
committerFelix Fietkau <nbd@nbd.name>2021-11-24 18:26:47 +0100
commitf84053af5c0b0a159ea4d3e90b0c06574b4fde8d (patch)
treea3936b7a71b48038525137b690ecf2a1dcb58d4f /package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
parentd439c7d85a05c3548e5566bec292292a4f6b7ef5 (diff)
downloadupstream-f84053af5c0b0a159ea4d3e90b0c06574b4fde8d.tar.gz
upstream-f84053af5c0b0a159ea4d3e90b0c06574b4fde8d.tar.bz2
upstream-f84053af5c0b0a159ea4d3e90b0c06574b4fde8d.zip
hostapd: add a patch that allows processing auth requests for peers in blocked state
If authentication fails repeatedly e.g. because of a weak signal, the link can end up in blocked state. If one of the nodes tries to establish a link again before it is unblocked on the other side, it will block the link to that other side. The same happens on the other side when it unblocks the link. In that scenario, the link never recovers on its own. To fix this, allow restarting authentication even if the link is in blocked state, but don't initiate the attempt until the blocked period is over. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch')
-rw-r--r--package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch b/package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
index 1e6892e375..a7a221352f 100644
--- a/package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
+++ b/package/network/services/hostapd/patches/750-qos_map_set_without_interworking.patch
@@ -65,7 +65,7 @@
wpabuf_free(sta->hs20_ie);
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
-@@ -4136,13 +4136,11 @@ static u16 copy_supp_rates(struct hostap
+@@ -4127,13 +4127,11 @@ static u16 copy_supp_rates(struct hostap
static u16 check_ext_capab(struct hostapd_data *hapd, struct sta_info *sta,
const u8 *ext_capab_ie, size_t ext_capab_ie_len)
{