summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-01-09 13:14:56 +0100
committerFelipe Balbi <balbi@ti.com>2012-01-24 11:19:56 +0200
commitc688419141ad6134d7973fcf182e3719e98d7491 (patch)
treec52ca708e359168b9a59d54913c001bf85d611f1 /security
parentdcd6c92267155e70a94b3927bce681ce74b80d1f (diff)
usb: gadget: dummy_hcd: initialize max_streams early
While playing with uasp I noticed that it does not work with dummy_hcd. The problem is that uasp requires a stream capable endpoint which it is requesting at bind time like every other gadget. dummy_hcd however initializes the max_stream value after connect once it knows if it runs at SS or not. I don't think that it is might be wrong to initialize the stream capability even at HS speed. The gadget may not use this descriptor at HS speed so it should not cause any damage. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions