]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Change acm_iad_descriptor bFunctionProtocol to USB_CDC_ACM_PROTO_AT_V25TER
authorPraveena Nadahally <praveen.nadahally@stericsson.com>
Fri, 10 Sep 2010 17:35:03 +0000 (23:05 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:35 +0000 (10:21 -0700)
commit29353b5e641eaa38d036ee76d26a1ccf37b33173
treeba32e7a007d07cd91819db0ff4c51030beac5b4e
parentb964bcc1117fedaead88cce707b42fdcbe572e02
USB: Change acm_iad_descriptor bFunctionProtocol to USB_CDC_ACM_PROTO_AT_V25TER

The protocol code is set 00 in IAD and it's set to 01 in ACM control
interface descriptor in f_acm.c file. Due to this, windows is unable to
install the modem(ACM) driver based on class-subclass-protocol matching.

This patch corrects the protocol code in ACM IAD to the same as in
acm_control_interface_desc protocol code.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Praveena Nadahally <praveen.nadahally@stericsson.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_acm.c