net: cdc_ncm: tag Huawei devices (e.g. E5331) with FLAG_WWAN
authorBjørn Mork <bjorn@mork.no>
Wed, 27 Feb 2013 03:08:58 +0000 (03:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2013 18:10:35 +0000 (13:10 -0500)
commit1f84eab4ad73bcb7d779cba65291fe62909e373f
tree723209b61025f09e85da1928283e344daba416d1
parente2593fcde1d906b26b81b38755749f7427f3439f
net: cdc_ncm: tag Huawei devices (e.g. E5331) with FLAG_WWAN

Tag all Huawei NCM devices as WWAN modems, as we don't know of any which
are not.  This is necessary for userspace clients to know that the device
requires further setup on e.g. an AT-capable serial ports before
connectivity is available.

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