Changes in / [31860b7:1fe9bf6] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hcdhubd.c

    r31860b7 r1fe9bf6  
    3939#include <errno.h>
    4040
    41 #define USB_HUB_DEVICE_NAME "usbhub"
    42 
    4341/** List of handled host controllers. */
    4442static LIST_INITIALIZE(hc_list);
     
    6765         * was connected.
    6866         */
    69         bool is_hc = str_cmp(dev->name, USB_HUB_DEVICE_NAME) != 0;
    70         printf("%s: add_device(name=\"%s\")\n", hc_driver->name, dev->name);
     67        bool is_hc = true;
    7168
    7269        if (is_hc) {
     
    9895                return EOK;
    9996        } else {
    100                 printf("%s: hub added, hurrah!\n", hc_driver->name);
    10197                /*
    10298                 * We are some (probably deeply nested) hub.
     
    234230                goto failure;
    235231        }
    236         hub->name = USB_HUB_DEVICE_NAME;
     232        hub->name = "usbhub";
    237233
    238234        match_id = create_match_id();
Note: See TracChangeset for help on using the changeset viewer.