summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2018-11-27 23:35:17 +0000
committerRobert Mustacchi <rm@joyent.com>2018-11-28 22:01:14 +0000
commitaa902e5003c88c1040e012da5bac37e8be18323a (patch)
tree2a6ee3c94097f9f0e788fc504ab404e0828d6d07
parent4540092fecc3a4d04cb2aac8fd60bdd378b5c6e0 (diff)
downloadillumos-joyent-aa902e5003c88c1040e012da5bac37e8be18323a.tar.gz
OS-7398 topo_usb_port_properties() doesn't properly handle ports with no protocol
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r--usr/src/lib/fm/topo/modules/common/usb/topo_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/fm/topo/modules/common/usb/topo_usb.c b/usr/src/lib/fm/topo/modules/common/usb/topo_usb.c
index ba578d6b3d..5a5c526c51 100644
--- a/usr/src/lib/fm/topo/modules/common/usb/topo_usb.c
+++ b/usr/src/lib/fm/topo/modules/common/usb/topo_usb.c
@@ -1211,7 +1211,7 @@ topo_usb_port_properties(topo_mod_t *mod, tnode_t *tn, topo_usb_port_t *port)
vers = "3.1";
break;
default:
- break;
+ continue;
}
/*