CDC NCM: Add mising short packet in cdc_ncm driver
authorAlexey Orishko <alexey.orishko@gmail.com>
Fri, 6 May 2011 03:01:30 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 22:30:28 +0000 (18:30 -0400)
commit6c60408e33aba6d1d7241bc9be3b8d1b39509291
tree9b00ca27f05c094adff441891e6fdc9494713ecb
parentc92f5ca2e5120796c56455e0a4b7cc0dfd6ceb49
CDC NCM: Add mising short packet in cdc_ncm driver

Changes:
- while making NTB, driver shall check if device dwNtbOutMaxSize is higher than
 host value and shall add a short packet if this is the case
- previous temporary patch for this issue is replaced by this one

Signed-off-by: Alexey Orishko <alexey.orishko@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c