]> 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)
commit10e8190ae2a1cb08a677447451097e2a50502acd
treefa1a3dc98669f80d59945117f9f53d8571a41848
parent8cd31d0d56119429ddec92d1a5df0ac379bab884
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