[source] hostapd: don't set htmode for wpa_supplicant

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:45:40 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/796bc21023a5f1e98bdff44800c122f8855cf6b2

commit 796bc21023a5f1e98bdff44800c122f8855cf6b2
Author: Leon M. George <leon at georgemail.eu>
AuthorDate: Mon Nov 20 17:36:55 2017 +0100

    hostapd: don't set htmode for wpa_supplicant
    
    no longer supported
    
    Signed-off-by: Leon M. George <leon at georgemail.eu>
    (cherry picked from commit cc0847eda337f948f5ff6e75014aa88e48779677)
---
 package/network/services/hostapd/files/hostapd.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 0df4466..5af9a50 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -747,8 +747,6 @@ wpa_supplicant_add_network() {
 	}
 
 	local ht_str
-	[[ "$_w_mode" = adhoc ]] || ibss_htmode=
-	[ -n "$ibss_htmode" ] && append network_data "htmode=$ibss_htmode" "$N$T"
 
 	cat >> "$_config" <<EOF
 network={



More information about the lede-commits mailing list