summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx100@gmail.com>2014-04-22 18:15:50 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2014-04-23 15:08:33 +0200
commit72a02f90e4411f9ed2b6ec98dc079279b962476b (patch)
tree35236cc91dc8c8423d23fafa5f0508315425f034 /src
parent81941d288025914c481ab5ca63666bdc689571f5 (diff)
downloadnetctl-72a02f90e4411f9ed2b6ec98dc079279b962476b.tar.gz
netctl-72a02f90e4411f9ed2b6ec98dc079279b962476b.tar.xz
wpa: add Frequency= option
This option sets a frequency to use in ad-hoc mode for a newly created IBSS (when it is going to be created).
Diffstat (limited to 'src')
-rw-r--r--src/lib/wpa1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/wpa b/src/lib/wpa
index 8804f34..e8ce8b1 100644
--- a/src/lib/wpa
+++ b/src/lib/wpa
@@ -252,6 +252,7 @@ wpa_make_config_block() {
is_yes "${Hidden:-no}" && echo "scan_ssid=1"
is_yes "${AdHoc:-no}" && echo "mode=1"
[[ $ScanFrequencies ]] && echo "scan_freq=$ScanFrequencies"
+ [[ $Frequency ]] && echo "frequency=$Frequency"
[[ $Priority ]] && echo "priority=$Priority"
}