]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56b715a1c38d64670bd236a685302afc606b44d7
treed1aadb32c48e3af16e28662a6f0a0adaed4fab99
parentf0c7e3cb985a5d384c10a61d24a38b7b9fc8efb2
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