]> git.ipfire.org Git - people/ms/network.git/commitdiff
hostapd_config_write: Reorder arguments in alphabetical order.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Aug 2013 15:22:26 +0000 (17:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Aug 2013 15:22:26 +0000 (17:22 +0200)
functions.hostapd

index 9e2e7f8baa4c1ddcbb456f518ecea0fba0ffa7fc..f1a65769e5d3b2ddeaf21c743d28c31648d810c9 100644 (file)
@@ -51,12 +51,6 @@ function hostapd_config_write() {
                        --country-code=*)
                                country_code=$(cli_get_val ${1})
                                ;;
-                       --mode=*)
-                               mode=$(cli_get_val ${1})
-                               ;;
-                       --ssid=*)
-                               ssid=$(cli_get_val ${1})
-                               ;;
                        --encryption=*)
                                encryption=$(cli_get_val ${1})
                                ;;
@@ -71,6 +65,12 @@ function hostapd_config_write() {
                        --key=*)
                                key=$(cli_get_val ${1})
                                ;;
+                       --mode=*)
+                               mode=$(cli_get_val ${1})
+                               ;;
+                       --ssid=*)
+                               ssid=$(cli_get_val ${1})
+                               ;;
                        *)
                                warning_log "Ignoring unknown argument '${1}'."
                                ;;