transport: fix bug/typo in transport_register cmd

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver
2010-07-09 22:02:52 +01:00
parent daa02f7d84
commit ac5ad4ad8d
3 changed files with 3 additions and 5 deletions

View File

@@ -3207,7 +3207,7 @@ COMMAND_HANDLER(ft2232_handle_layout_command)
if (strcmp(l->name, CMD_ARGV[0]) == 0) {
layout = l;
/* This may also select the transport
* if we only suppport one of them.
* if we only support one of them.
*/
return allow_transports(CMD_CTX,
l->transports ? : jtag_only);