Ticket #3307: Hub.diff

File Hub.diff, 544 bytes (added by monni, 15 years ago)

After hundred reboots I got this really big patch made ;)

  • Hub.cpp

     
    153153        if (result < B_OK)
    154154            return result;
    155155
    156         if (fPortStatus[index].change & C_PORT_RESET) {
     156        if (fPortStatus[index].change & PORT_STATUS_RESET) {
    157157            // reset is done
    158158            break;
    159159        }
    160160    }
    161161
    162     if ((fPortStatus[index].change & C_PORT_RESET) == 0) {
     162    if ((fPortStatus[index].change & PORT_STATUS_RESET) == 0) {
    163163        TRACE_ERROR("port %d won't reset\n", index);
    164164        return B_ERROR;
    165165    }