From 9129246b283d230cc384b2457b7aae01ec58c3d6 Mon Sep 17 00:00:00 2001 From: "saerome.kim" Date: Wed, 5 Jul 2017 14:25:40 +0900 Subject: [PATCH] Change test menu sequence in order of execution Signed-off-by: saerome.kim --- test/wifi-mesh-network.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/test/wifi-mesh-network.c b/test/wifi-mesh-network.c index 9fc7b52..17bd98e 100644 --- a/test/wifi-mesh-network.c +++ b/test/wifi-mesh-network.c @@ -668,23 +668,23 @@ static struct menu_data menu_forget_network[] = { struct menu_data menu_mesh_network[] = { - { "1", "Scan", NULL, run_wifi_mesh_scan, NULL }, - { "2", "Get found mesh network", NULL, run_get_found_mesh_network, NULL }, - { "3", "Specific scan", menu_specific_scan, NULL, NULL }, - { "4", "Cancel scan", NULL, run_wifi_mesh_cancel_scan, NULL }, - { "5", "Enable mesh", NULL, run_wifi_mesh_enable, NULL }, - { "6", "Disable mesh", NULL, run_wifi_mesh_disable, NULL }, - { "7", "Get joined mesh network", NULL, run_get_joined_mesh_network, NULL }, - { "8", "Set gate", menu_gate_option, NULL, NULL }, - { "9", "Unset gate", NULL, run_unset_gate, NULL }, - { "10", "Set softap", menu_softap_option, NULL, NULL }, - { "11", "Enable softap", NULL, run_enable_softap, NULL }, - { "12", "Disable softap", NULL, run_disable_softap, NULL }, - { "13", "Create network", menu_create_network, NULL, NULL }, - { "14", "Connect network", menu_connect_network, NULL, NULL }, - { "15", "Disconnect network", menu_disconnect_network, NULL, NULL }, - { "16", "Forget network", menu_forget_network, NULL, NULL }, - { "17", "Get connected mesh peers", NULL, run_get_connected_peers, NULL }, + { "1", "Start", NULL, run_wifi_mesh_enable, NULL }, + { "2", "Stop", NULL, run_wifi_mesh_disable, NULL }, + { "3", "Scan", NULL, run_wifi_mesh_scan, NULL }, + { "4", "Specific scan", menu_specific_scan, NULL, NULL }, + { "5", "Cancel scan", NULL, run_wifi_mesh_cancel_scan, NULL }, + { "6", "Get found mesh network", NULL, run_get_found_mesh_network, NULL }, + { "7", "Create network", menu_create_network, NULL, NULL }, + { "8", "Connect network", menu_connect_network, NULL, NULL }, + { "9", "Disconnect network", menu_disconnect_network, NULL, NULL }, + { "10", "Forget network", menu_forget_network, NULL, NULL }, + { "11", "Get joined mesh network", NULL, run_get_joined_mesh_network, NULL }, + { "12", "Set softap", menu_softap_option, NULL, NULL }, + { "13", "Enable softap", NULL, run_enable_softap, NULL }, + { "14", "Disable softap", NULL, run_disable_softap, NULL }, + { "15", "Get connected mesh peers", NULL, run_get_connected_peers, NULL }, + { "16", "Set gate", menu_gate_option, NULL, NULL }, + { "17", "Unset gate", NULL, run_unset_gate, NULL }, { "18", "Get mesh station information", NULL, run_get_station_information, NULL }, { "19", "Get mesh path information", NULL, run_get_mpath_information, NULL }, { NULL, NULL, }, -- 2.34.1