fhci-hub: no need to overwrite byte 3 of the Hub Descriptor
commit368fbc34c4602accd1ba76d03b4cce07c9c90cf7
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 11 Jan 2015 22:47:49 +0000 (12 01:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 12:48:28 +0000 (25 20:48 +0800)
tree5bf0622ee5a9c29018379a4c1b5456a41b8e49f1
parent3eb598ded1cfb0dc337d4e82cb274e583856338f
fhci-hub: no need to overwrite byte 3 of the Hub Descriptor

The code handling Get Hub Descriptor request copies data from root_hub_des[],
then overwrites byte 3 with real 'wHubCharacteristics' value. There's no need
to overwrite, we can substitute the real value right into root_hub_des[3].

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fhci-hub.c