]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_ncm: process chained NDPs
authorBjørn Mork <bjorn@mork.no>
Mon, 22 Oct 2012 10:56:32 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:10 +0000 (02:40 -0400)
commit7cfcef3fba87421e9be8cb664784a20edfcfb147
treefa1a3dc98669f80d59945117f9f53d8571a41848
parenta155a30ab00de3e0aa6fce3f3581182c558b07ed
net: cdc_ncm: process chained NDPs

The NCM 1.0 spefication makes provisions for linking more than
one NDP into a single NTB. This is important for MBIM support,
where these NDPs might be of different types.

Following the chain of NDPs is also correct for NCM, and will
not change anything in the common case where there is only
one NDP

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