]> git.baikalelectronics.ru Git - kernel.git/commit
libertas_usb: use USB interface as parent device
authorDaniel Drake <dsd@laptop.org>
Thu, 21 Jul 2011 19:43:44 +0000 (20:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Aug 2011 18:26:31 +0000 (14:26 -0400)
commit05fed394139daafa144dcad792e1682ed559c060
tree455c2217c99983f2edb739dbb54ec1467824c080
parentf7a30940bdaf7594418a56af1998648988a8c84a
libertas_usb: use USB interface as parent device

Currently, "udevadm info -a -p /sys/class/net/wlan0" doesn't mention
the usb8xxx or libertas driver anywhere. This makes writing udev rules
a bit uncomfortable.

Using the USB interface as the parent device corrects the hierarchy.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c