From: Michael Tremer Date: Fri, 23 Aug 2013 15:22:26 +0000 (+0200) Subject: hostapd_config_write: Reorder arguments in alphabetical order. X-Git-Tag: 007~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cfc085f0cd18d2216db1544f08fbe37b7a711d6;p=network.git hostapd_config_write: Reorder arguments in alphabetical order. --- diff --git a/functions.hostapd b/functions.hostapd index 9e2e7f8b..f1a65769 100644 --- a/functions.hostapd +++ b/functions.hostapd @@ -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}'." ;;