cdc_ncm: fix bind failures for Icera devices
authorNeil Patel <neilp@nvidia.com>
Wed, 12 Dec 2012 20:00:48 +0000 (15:00 -0500)
committerVarun Colbert <vcolbert@nvidia.com>
Tue, 18 Dec 2012 22:05:40 +0000 (14:05 -0800)
commit77ca7c4fe480e40147aed7c7c2927b64c2fe79ac
treed889b443893867ede6baa69b7160840955439084
parente488835bbd5ff57ddd297489b7ad99d6f5cffd70
cdc_ncm: fix bind failures for Icera devices

The Icera 5AN, 5AN BSD, and Nemo devices are composite devices that
include a NCM interface. Therefore, the NCM match flags should have
the VID, PID, Class, Subclass, and Protocol set to avoid bind()
failures for non-NCM interfaces.

Bug 1197415

Change-Id: If68a6ffaa4e1871c6a22ec8839806949804f502c
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/170576
(cherry picked from commit 4688623777e523eacd29fdca8357c608963d26b6)
Reviewed-on: http://git-master/r/171965
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
drivers/net/usb/cdc_ncm.c