diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-02-27 23:05:05 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-02-27 23:05:05 +0000 |
commit | e74ae58645b63b23d6ba58e68a695f4c790f0b1c (patch) | |
tree | 29ba9425a315f7a284c70bab4c6df20f5845cc00 /package/madwifi/files/lib/wifi | |
parent | 423e90915d930f680ffec4eb5157696deaac35ba (diff) | |
download | mtk-20170518-e74ae58645b63b23d6ba58e68a695f4c790f0b1c.zip mtk-20170518-e74ae58645b63b23d6ba58e68a695f4c790f0b1c.tar.gz mtk-20170518-e74ae58645b63b23d6ba58e68a695f4c790f0b1c.tar.bz2 |
Add hidden_ssid option to madwifi script (#1363)
SVN-Revision: 6406
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-x | package/madwifi/files/lib/wifi/madwifi.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 4ba6cd1..e1da9d4 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -106,6 +106,9 @@ enable_atheros() { iwpriv "$ifname" pureg "$pureg" iwconfig "$ifname" channel "$channel" } + + config_get hidden "$vif" hidden + [ -z "$hidden" ] || iwpriv "$ifname" hide_ssid "$hidden" config_get wds "$vif" wds case "$wds" in |