diff options
author | Rafal Redzimski <rafal.f.redzimski@intel.com> | 2016-05-19 11:56:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-20 19:30:43 -0400 |
commit | 05a56487174d33fff5986f13c0c8e4b32f046da9 (patch) | |
tree | 2ce798fe0d3732ad18f9832d512d2155cdfc2cba /scripts/spelling.txt | |
parent | addf8fc4acb1cf79492ac64966f07178793cb3d7 (diff) | |
download | blackbird-op-linux-05a56487174d33fff5986f13c0c8e4b32f046da9.tar.gz blackbird-op-linux-05a56487174d33fff5986f13c0c8e4b32f046da9.zip |
net: cdc_ncm: update datagram size after changing mtu
Current implementation updates the mtu size and notify cdc_ncm
device using USB_CDC_SET_MAX_DATAGRAM_SIZE request about datagram
size change instead of changing rx_urb_size.
Whenever mtu is being changed, datagram size should also be
updated. Also updating maxmtu formula so it takes max_datagram_size with
use of cdc_ncm_max_dgram_size() and not ctx.
Signed-off-by: Robert Dobrowolski <robert.dobrowolski@linux.intel.com>
Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/spelling.txt')
0 files changed, 0 insertions, 0 deletions