Skip to content
Permalink
Browse files

Bluetooth: Shell: Fix having gatt unregister twice

Only one command handle shall be needed.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information...
Vudentz authored and jhedberg committed May 28, 2019
1 parent dcf253a commit 93dfa640dd3693b7d93c6e85b8d04bb8f3272167
Showing with 0 additions and 4 deletions.
  1. +0 −4 subsys/bluetooth/shell/gatt.c
@@ -1004,10 +1004,6 @@ SHELL_STATIC_SUBCMD_SET_CREATE(gatt_cmds,
SHELL_CMD_ARG(unregister, NULL,
"unregister pre-predefined test service",
cmd_unregister_test_svc, 1, 0),

SHELL_CMD_ARG(unregister, NULL,
"unregister pre-predefined test service",
cmd_unregister_test_svc, 1, 0),
#endif /* CONFIG_BT_GATT_DYNAMIC_DB */
SHELL_SUBCMD_SET_END
);

0 comments on commit 93dfa64

Please sign in to comment.
You can’t perform that action at this time.