On 12/13/11 02:22, m...@linux.vnet.ibm.com wrote: > When testing ipod on QEMU by He Jie Xu<x...@linux.vnet.ibm.com>,qemu made a > assertion. > We found that the ipod with 2 configurations,and the usb-linux did not parse > the descriptor correctly. > The descr_len returned is the total length of the all configurations,not one > configuration. > The older version will through the other configurations instead of > skip,continue parsing the descriptor of interfaces/endpoints in other > configurations,then went wrong. > > This patch will put the configuration descriptor parse in loop outside and > dispel the other configurations not requested.
Patch added to usb patch queue. thanks, Gerd