diff options
author | Hans Petter Selasky <hselasky@c2i.net> | 2011-04-24 22:35:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-24 22:35:19 -0700 |
commit | 8c61d9d611cb5b290f1b4ac57c4631acfd6e3b5a (patch) | |
tree | 0e8d3f1c5d9d8bc34d238e739ea57cd098560924 /net/llc | |
parent | 9ac067a84efbc7f5570d4d93c3b303001d5e8b38 (diff) | |
download | kernel_samsung_smdk4412-8c61d9d611cb5b290f1b4ac57c4631acfd6e3b5a.zip kernel_samsung_smdk4412-8c61d9d611cb5b290f1b4ac57c4631acfd6e3b5a.tar.gz kernel_samsung_smdk4412-8c61d9d611cb5b290f1b4ac57c4631acfd6e3b5a.tar.bz2 |
cdc_ncm: fix short packet issue on some devices
The default maximum transmit length for NCM USB frames should be so
that a short packet happens at the end if the device supports a length
greater than the defined maximum. This is achieved by adding 4 bytes
to the maximum length so that the existing logic can fit a short
packet there.
Signed-off-by: Hans Petter Selasky <hselasky@c2i.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions