usb: gadget: u_ether: prepare for NCM
commit5c1168dbc508282f7717a4472477d52d64403060
authorYauheni Kaliuta <yauheni.kaliuta@nokia.com>
Wed, 8 Dec 2010 11:12:04 +0000 (8 13:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 22:29:42 +0000 (10 14:29 -0800)
treef551a1d844ec74fdc85d3992f4b37dcd762f0920
parentff176a4e2972bdc7a8d65cdcb0bd0d26ab1528cf
usb: gadget: u_ether: prepare for NCM

NCM is a Network Control Model, subclass of USB CDC class,
specification is available at http://www.usb.org/developers/devclass_docs

This patch makes possible for u_ether to use multiply of wMaxPacketSize
predefined size transfers without ZLP (Zero Length Packet), required
by NCM spec.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/u_ether.c
drivers/usb/gadget/u_ether.h