summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/files/hostapd.sh
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2017-11-20 17:36:55 +0100
committerFelix Fietkau <nbd@nbd.name>2017-11-21 13:11:42 +0100
commitcc0847eda337f948f5ff6e75014aa88e48779677 (patch)
treee281a270c70ffd778fe2c2104aa9b39029fa40f1 /package/network/services/hostapd/files/hostapd.sh
parenta28d1d5444bd4113821af73bb3e789b2ccccc950 (diff)
downloadmtk-20170518-cc0847eda337f948f5ff6e75014aa88e48779677.zip
mtk-20170518-cc0847eda337f948f5ff6e75014aa88e48779677.tar.gz
mtk-20170518-cc0847eda337f948f5ff6e75014aa88e48779677.tar.bz2
hostapd: don't set htmode for wpa_supplicant
no longer supported Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'package/network/services/hostapd/files/hostapd.sh')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 0 insertions, 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={