summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/iwmgmt_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/iwmgmt_cmd.c')
-rw-r--r--src/hci/commands/iwmgmt_cmd.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/hci/commands/iwmgmt_cmd.c b/src/hci/commands/iwmgmt_cmd.c
index b61ee8c7b..b430353d9 100644
--- a/src/hci/commands/iwmgmt_cmd.c
+++ b/src/hci/commands/iwmgmt_cmd.c
@@ -113,13 +113,5 @@ static int iwlist_exec ( int argc, char **argv ) {
}
/** Wireless interface management commands */
-struct command iwmgmt_commands[] __command = {
- {
- .name = "iwstat",
- .exec = iwstat_exec,
- },
- {
- .name = "iwlist",
- .exec = iwlist_exec,
- },
-};
+COMMAND ( iwstat, iwstat_exec );
+COMMAND ( iwlist, iwlist_exec );