android_kernel_xiaomi_sm8350/drivers/usb/net
Nathan Lynch a083dec0ed [PATCH] USB: zd1201: make sysfs device symlink
Noticed that my zd1201 adapter isn't "seen" by hal and NetworkManager.
The problem seems to be that unlike other network device drivers I
checked, zd1201 does not do a SET_NETDEV_DEV(), which makes it so a
"device" symlink is created under /sys/class/net/wlan0.

With the following patch the device symlink shows up, and now I am
happily using NetworkManager to control the adapter:

$ ls -l /sys/class/net/wlan0
total 0
-r--r--r--  1 root root 4096 Dec 18 13:42 address
-r--r--r--  1 root root 4096 Dec 18 13:42 addr_len
-r--r--r--  1 root root 4096 Dec 18 13:42 broadcast
-r--r--r--  1 root root 4096 Dec 18 13:42 carrier
lrwxrwxrwx  1 root root    0 Dec 18 13:42 device -> ../../../devices/pci0001:10/0001:10:1b.1/usb4/4-1
-r--r--r--  1 root root 4096 Dec 18 13:42 features

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:51:44 -08:00
..
asix.c [PATCH] USB: asix.c - Add Linksys USB200M Rev 2 ids 2006-01-04 13:51:44 -08:00
catc.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
cdc_ether.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
cdc_subset.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
gl620a.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
kaweth.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
kawethfw.h
Kconfig [PATCH] USB: fix correct wording in drivers/usb/net/KConfig 2005-10-28 16:47:52 -07:00
Makefile [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
net1080.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
pegasus.c [PATCH] USB: usb-net: new device ID passed through module parameter 2006-01-04 13:48:31 -08:00
pegasus.h [PATCH] pegasus.h 2005-10-28 16:47:42 -07:00
plusb.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
rndis_host.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
rtl8150.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
usbnet.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
usbnet.h [PATCH] gfp_t: drivers/usb 2005-10-28 08:16:49 -07:00
zaurus.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
zd1201.c [PATCH] USB: zd1201: make sysfs device symlink 2006-01-04 13:51:44 -08:00
zd1201.h