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

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 21 04:12:03 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/cc0847eda337f948f5ff6e75014aa88e48779677

commit cc0847eda337f948f5ff6e75014aa88e48779677
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>
---
 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 2400976..f4f8b8e 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -770,8 +770,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