diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-07-01 15:47:47 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-07-16 19:58:20 +0200 |
commit | 4546527350c3c508554dff53e9086e9d3de0b97b (patch) | |
tree | 83065721cc1e5eec39087c05ad1d5cdd420254ea /drivers/tty | |
parent | usb: gadget: f_uac2: Fix pcm sample size selection (diff) | |
download | linux-4546527350c3c508554dff53e9086e9d3de0b97b.tar.xz linux-4546527350c3c508554dff53e9086e9d3de0b97b.zip |
usb: gadget: f_rndis: fix interface id for OS descriptors
f->os_desc_table[0].if_id is zero by default. If the actual id happens
to be different then no Feature Descriptors will be returned to the host
for this interface, so assign if_id as soon as it is known.
Cc: <stable@vger.kernel.org> # v3.16
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions