usb: gadget: NCM: RX function support multiple NDPs
authorJim Baxter <jim_baxter@mentor.com>
Mon, 7 Jul 2014 17:33:17 +0000 (18:33 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Jul 2014 13:49:35 +0000 (08:49 -0500)
commit370af734dfaf8336b496b386e194648e097e248a
treeac8ec25e4fae41ddc9c06ce33bd4afde35c74ed0
parentd82aa8aeb0eaa06bad80860a95ca5fdff84e8775
usb: gadget: NCM: RX function support multiple NDPs

The NDP was ignoring the wNextNdpIndex in the NDP which
means that NTBs containing multiple NDPs would have missed
frames.

Signed-off-by: Jim Baxter <jim_baxter@mentor.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_ncm.c