]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18643126dc10ee1ee99ef61c3a5da423a69caee5
treee642b6328ba8a70f29941161d33cf628de13a0c5
parentcdbf6e04cbcef968576a8891f91e5a5d8de7b4a5
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