net: cdc_ncm: split out rx_max/tx_max update of setup
authorBjørn Mork <bjorn@mork.no>
Fri, 16 May 2014 19:48:18 +0000 (21:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:39:01 +0000 (22:39 -0400)
commit5aa73d5d72bddfcac253d06f84e80e38c5bb430c
treee642b6328ba8a70f29941161d33cf628de13a0c5
parent97dc48e220282742e4c4a8fde81bdd4dbe011f1e
net: cdc_ncm: split out rx_max/tx_max update of setup

Split out the part of setup dealing with updating the rx_max
and tx_max buffer sizes so that this code can be reused for
dynamically updating the limits.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c