]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_ncm: fix SET_MAX_DATAGRAM_SIZE
authorBjørn Mork <bjorn@mork.no>
Fri, 1 Nov 2013 10:16:46 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Nov 2013 06:02:02 +0000 (02:02 -0400)
commita819f8a8cd3faef9fe1b7caa97eba6b9b7712853
treebda69dc23435d41269fed81974076339af462f23
parent4074b5d36f55f9595cabf47c268a91fc0b070ee2
net: cdc_ncm: fix SET_MAX_DATAGRAM_SIZE

We need to inform the device about the *new* value, not the
old one.

Cc: Alexey Orishko <alexey.orishko@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c