summaryrefslogtreecommitdiff
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-11-01 10:17:01 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-11-02 06:02:05 (GMT)
commita6fe67087d7cb916e41b4ad1b3a57c91150edb88 (patch)
treeb5bd37a8edb1e3ff5f0c261daddd8b3362824d9f /drivers/rapidio
parent296e81f84c7ef7272cca1636386d55acc1af3238 (diff)
downloadlinux-fsl-qoriq-a6fe67087d7cb916e41b4ad1b3a57c91150edb88.tar.xz
net: cdc_ncm: no not set tx_max higher than the device supports
There are MBIM devices out there reporting dwNtbInMaxSize=2048 dwNtbOutMaxSize=2048 and since the spec require a datagram max size of at least 2048, this means that a full sized datagram will never fit. Still, sending larger NTBs than the device supports is not going to help. We do not have any other options than either a) refusing to bindi, or b) respect the insanely low value. Alternative b will at least make these devices work, so go for it. Cc: Alexey Orishko <alexey.orishko@gmail.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions