]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: cdc-acm: send zero packet for intel 7260 modem
authorLu Baolu <baolu.lu@linux.intel.com>
Wed, 6 Jan 2016 07:10:04 +0000 (15:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2016 05:06:21 +0000 (21:06 -0800)
commitffdb1e369a73b380fce95b05f8498d92c43842b4
tree93d4c35376045b1fa564b42d8883af4ce6bef697
parent19454462acb1bdef80542061bdc9b410e4ed1ff6
usb: cdc-acm: send zero packet for intel 7260 modem

For Intel 7260 modem, it is needed for host side to send zero
packet if the BULK OUT size is equal to USB endpoint max packet
length. Otherwise, modem side may still wait for more data and
cannot give response to host side.

Signed-off-by: Konrad Leszczynski <konrad.leszczynski@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h