net: cdc_ncm: support rx_max/tx_max updates when running
authorBjørn Mork <bjorn@mork.no>
Fri, 16 May 2014 19:48:21 +0000 (21:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:39:01 +0000 (22:39 -0400)
commit68864abf08f06d7cbbabd03740beb383ccf5e5d5
treed1aadb32c48e3af16e28662a6f0a0adaed4fab99
parent08c74fc901a2e91de762d99ba3d493281862e29a
net: cdc_ncm: support rx_max/tx_max updates when running

Finish the rx_max/tx_max setup by flushing buffers and
informing usbnet about the changes.  This way, the settings
can be modified while the netdev is up and running.

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