[settings] Force settings into alphabetical order within sections

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-12-05 12:38:51 +00:00
parent 8aab959bed
commit b0942534eb
19 changed files with 158 additions and 125 deletions

View File

@@ -204,7 +204,8 @@ struct settings_applicator net80211_applicator __settings_applicator = {
* If this is blank, we scan for all networks and use the one with the
* greatest signal strength.
*/
const struct setting net80211_ssid_setting __setting ( SETTING_NETDEV_EXTRA ) = {
const struct setting net80211_ssid_setting __setting ( SETTING_NETDEV_EXTRA,
ssid ) = {
.name = "ssid",
.description = "Wireless SSID",
.type = &setting_type_string,
@@ -216,7 +217,8 @@ const struct setting net80211_ssid_setting __setting ( SETTING_NETDEV_EXTRA ) =
* active scan (send probe packets). If this setting is nonzero, an
* active scan on the 2.4GHz band will be used to associate.
*/
const struct setting net80211_active_setting __setting ( SETTING_NETDEV_EXTRA ) = {
const struct setting net80211_active_setting __setting ( SETTING_NETDEV_EXTRA,
active-scan ) = {
.name = "active-scan",
.description = "Actively scan for wireless networks",
.type = &setting_type_int8,
@@ -228,7 +230,8 @@ const struct setting net80211_active_setting __setting ( SETTING_NETDEV_EXTRA )
* normal iPXE method for entering hex settings; an ASCII string of
* hex characters will not behave as expected.
*/
const struct setting net80211_key_setting __setting ( SETTING_NETDEV_EXTRA ) = {
const struct setting net80211_key_setting __setting ( SETTING_NETDEV_EXTRA,
key ) = {
.name = "key",
.description = "Wireless encryption key",
.type = &setting_type_string,