Created
March 24, 2017 15:07
-
-
Save anonymous/b93dc4dd09e9f05fd6839a5b4772ec7c to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From ce06b6c53eb5f6a2aea13e04cb054faa438977ef Mon Sep 17 00:00:00 2001 | |
From: Ralph Sennhauser <ralph.sennhauser@gmail.com> | |
Date: Fri, 24 Mar 2017 16:07:13 +0100 | |
Subject: [PATCH 1/1] hostapd: add support for skip_inactivity_poll | |
--- | |
package/network/services/hostapd/files/hostapd.sh | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh | |
index 7aec7ad..ac3a719 100644 | |
--- a/package/network/services/hostapd/files/hostapd.sh | |
+++ b/package/network/services/hostapd/files/hostapd.sh | |
@@ -12,6 +12,7 @@ hostapd_set_bss_options() { | |
config_get_bool disassoc_low_ack "$vif" disassoc_low_ack 1 | |
config_get max_num_sta "$vif" max_num_sta 0 | |
config_get max_inactivity "$vif" max_inactivity 0 | |
+ config_get skip_inactivity_poll "$vif" skip_inactivity_poll 0 | |
config_get_bool preamble "$vif" short_preamble 1 | |
config_get device "$vif" device | |
@@ -29,6 +30,9 @@ hostapd_set_bss_options() { | |
if [ "$max_inactivity" -gt 0 ]; then | |
append "$var" "ap_max_inactivity=$max_inactivity" "$N" | |
fi | |
+ if [ "$skip_inactivity_poll" -gt 0 ]; then | |
+ append "$var" "skip_inactivity_poll=$skip_inactivity_poll" "$N" | |
+ fi | |
append "$var" "disassoc_low_ack=$disassoc_low_ack" "$N" | |
if [ "$preamble" -gt 0 ]; then | |
append "$var" "preamble=$preamble" "$N" | |
-- | |
2.10.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment