]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb: don't update devnum for wusb devices
authorDavid Vrabel <david.vrabel@csr.com>
Tue, 8 Apr 2008 20:24:46 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:59 +0000 (21:16 -0700)
commit4953d141dc5db748475001cfbfdcc42e66cf900e
treed05465dd6ca1fa1fb3e271f436a85f0f0b2cf978
parentfc721f5194dc98c8108fb155a4fbae1cd746cf41
usb: don't update devnum for wusb devices

For WUSB devices, usb_dev.devnum is a device index and not the real
device address (which is managed by wusbcore).  Therefore, only set
devnum once (in choose_address()) and never change it.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Cc: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c