summaryrefslogtreecommitdiffstats
path: root/src/8021x
diff options
context:
space:
mode:
Diffstat (limited to 'src/8021x')
-rw-r--r--src/8021x7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/8021x b/src/8021x
index ec68c4f..fcde131 100644
--- a/src/8021x
+++ b/src/8021x
@@ -269,7 +269,12 @@ make_wpa_config() {
# Hidden SSID
if checkyesno ${HIDDEN:-no}; then
- echo "scan_ssid=1"
+ echo "scan_ssid=1"
+ fi
+
+ # Priority group for the network
+ if [[ -n "$PRIORITY" ]]; then
+ echo "priority=$PRIORITY"
fi
}