net: cdc_ncm: adding MBIM support to ncm_setup
authorGreg Suarez <gsuarez@smithmicro.com>
Mon, 22 Oct 2012 10:56:30 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:10 +0000 (02:40 -0400)
commit2d1c4310774156204c3faff0db583337caeffcc4
tree7973b585d4606104f18c049a79f33fe619b8f911
parent51615edd0a41b36f69858b9be1fbbf6a3de84f82
net: cdc_ncm: adding MBIM support to ncm_setup

MBIM and NCM are very similar, so we can reuse most of the
setup and bind logic in cdc_ncm for CDC MBIM devices.  Handle
a few minor differences in ncm_setup.

Signed-off-by: Greg Suarez <gsuarez@smithmicro.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