Ticket #3307: Hub.diff
File Hub.diff, 544 bytes (added by , 15 years ago) |
---|
-
Hub.cpp
153 153 if (result < B_OK) 154 154 return result; 155 155 156 if (fPortStatus[index].change & C_PORT_RESET) {156 if (fPortStatus[index].change & PORT_STATUS_RESET) { 157 157 // reset is done 158 158 break; 159 159 } 160 160 } 161 161 162 if ((fPortStatus[index].change & C_PORT_RESET) == 0) {162 if ((fPortStatus[index].change & PORT_STATUS_RESET) == 0) { 163 163 TRACE_ERROR("port %d won't reset\n", index); 164 164 return B_ERROR; 165 165 }