Index: uspace/drv/ohci/root_hub.c
===================================================================
--- uspace/drv/ohci/root_hub.c	(revision 848dafc764eadca1cfc912497c4e6fc3f586425f)
+++ uspace/drv/ohci/root_hub.c	(revision c8be56e3f419dff8633efe7c391a243698005ee4)
@@ -505,5 +505,5 @@
 	mask = port_status_change_mask;
 	for (port = 1; port <= instance->port_count; ++port) {
-		if (mask & instance->registers->rh_port_status[port - 1] != 0) {
+		if ((mask & instance->registers->rh_port_status[port - 1]) != 0) {
 
 			bitmap[(port) / 8] += 1 << (port % 8);
