commit | 43c87f78388443e3bf6c73c05574bfa15b994f0a | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Fri Nov 01 11:16:52 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 02 02:02:03 2013 -0400 |
tree | 49bfc39c2ec45139d95e60288accab56dcda98e2 | |
parent | 0e2c4a00547a406aeb3bb5a3007cc90a62104980 [diff] |
net: cdc_ncm: set correct dev->hard_mtu usbnet use the hard_mtu value for sizing the tx queue and nothing else. We will be transmitting buffers of up to tx_max size, so that's the proper value to give usbnet. The individual datagram size is completely irrelevant here. 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>