usb: cdc-acm: send zero packet for intel 7260 modem

[ Upstream commit ffdb1e369a ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Lu Baolu 2016-01-06 15:10:04 +08:00 • committed by Sasha Levin
commit a7b1bf8b60
2 changed files with 7 additions and 0 deletions