usbnet: Set device type for wlan and wwan devices
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Oct 2009 05:15:26 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2009 07:43:33 +0000 (00:43 -0700)
commit225794f8c33fd32721ae1cd3576db99810351d7b
treeeb5ddc217354292080984a3d848f5932814da943
parente1e499eef2200c2a7120c9ebf297d48b195cf887
usbnet: Set device type for wlan and wwan devices

For usbnet devices with FLAG_WLAN and FLAG_WWAN set the proper device
type so that uevent contains the correct value. This then allows an easy
identification of the actual underlying technology of the Ethernet device.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c