From: Andrzej Pietrasiewicz Date: Tue, 1 Jul 2014 13:47:47 +0000 (+0200) Subject: usb: gadget: f_rndis: fix interface id for OS descriptors X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4546527350c3c508554dff53e9086e9d3de0b97b;p=pandora-kernel.git 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: # v3.16 Acked-by: Michal Nazarewicz Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed