Skip to content

Commit c15f8ed

Browse files
larsgkmmahadevan108
authored andcommitted
Bluetooth: Shell: Fix iso sync timeout range check
Using BT_ISO_SYNC_TIMEOUT_MIN and BT_ISO_SYNC_TIMEOUT_MAX now. Signed-off-by: Lars Knudsen <[email protected]>
1 parent 7a7cfd0 commit c15f8ed

File tree

1 file changed

+2
-2
lines changed
  • subsys/bluetooth/host/shell

1 file changed

+2
-2
lines changed

subsys/bluetooth/host/shell/iso.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,8 @@ static int cmd_big_sync(const struct shell *sh, size_t argc, char *argv[])
873873
}
874874

875875
if (!IN_RANGE(sync_timeout,
876-
BT_ISO_SYNC_MSE_MIN,
877-
BT_ISO_SYNC_MSE_MAX)) {
876+
BT_ISO_SYNC_TIMEOUT_MIN,
877+
BT_ISO_SYNC_TIMEOUT_MAX)) {
878878
shell_error(sh, "Invalid sync_timeout %lu",
879879
sync_timeout);
880880

0 commit comments

Comments
 (0)