Skip to content
Permalink
Browse files

Bluetooth: shell: Fix L2CAP connect parameters count

This fixes mandatory parameters count.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
  • Loading branch information...
MariuszSkamra authored and carlescufi committed Jul 12, 2019
1 parent 6e8c155 commit 2809bdf8c6c885639687d32c0277381dc4af5e17
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/bluetooth/shell/l2cap.c
@@ -414,7 +414,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(whitelist_cmds,
);

SHELL_STATIC_SUBCMD_SET_CREATE(l2cap_cmds,
SHELL_CMD_ARG(connect, NULL, "<psm>", cmd_connect, 1, 0),
SHELL_CMD_ARG(connect, NULL, "<psm>", cmd_connect, 2, 0),
SHELL_CMD_ARG(disconnect, NULL, HELP_NONE, cmd_disconnect, 1, 0),
SHELL_CMD_ARG(metrics, NULL, "<value on, off>", cmd_metrics, 2, 0),
SHELL_CMD_ARG(recv, NULL, "[delay (in miliseconds)", cmd_recv, 1, 1),

0 comments on commit 2809bdf

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