summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/ping_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/ping_cmd.c')
-rw-r--r--src/hci/commands/ping_cmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/hci/commands/ping_cmd.c b/src/hci/commands/ping_cmd.c
index ab271e75a..e132fb457 100644
--- a/src/hci/commands/ping_cmd.c
+++ b/src/hci/commands/ping_cmd.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <stdint.h>
#include <stdlib.h>
@@ -107,7 +108,4 @@ static int ping_exec ( int argc, char **argv ) {
}
/** Ping command */
-struct command ping_command __command = {
- .name = "ping",
- .exec = ping_exec,
-};
+COMMAND ( ping, ping_exec );