usb: gadget: f_rndis: fix interface id for OS descriptors
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 1 Jul 2014 13:47:47 +0000 (15:47 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 17:58:20 +0000 (12:58 -0500)
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>

No differences found