summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-10-21 17:10:23 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2013-10-23 01:43:25 +0200
commitab8953024be9f6f7d5f98886894917a8a8fdd452 (patch)
tree0c3ffee829b94b8fe8950a42d62ad8a623f94c80 /src
parent5930a6eebc67b9665ea5d6133306a71030cd94a0 (diff)
downloadnetctl-ab8953024be9f6f7d5f98886894917a8a8fdd452.tar.gz
netctl-ab8953024be9f6f7d5f98886894917a8a8fdd452.tar.xz
Allow limiting the frequencies to scan (FS#37032)
This is especially useful to enforce connecting in the 5 GHz band.
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 ff6d9ab..dea95d5 100644
--- a/src/lib/wpa
+++ b/src/lib/wpa
@@ -247,6 +247,7 @@ wpa_make_config_block() {
[[ $AP ]] && echo "bssid=${AP,,}"
is_yes "${Hidden:-no}" && echo "scan_ssid=1"
is_yes "${AdHoc:-no}" && echo "mode=1"
+ [[ $ScanFrequencies ]] && echo "scan_freq=$ScanFrequencies"
[[ $Priority ]] && echo "priority=$Priority"
}