[PATCH] libertas: call SET_NETDEV_DEV from common code
authorDan Williams <dcbw@redhat.com>
Fri, 25 May 2007 17:13:25 +0000 (13:13 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:40 +0000 (14:28 -0400)
commit7732ca45c68f893689a8c0d8c6e2eb2bfefbc087
treeb894177055e35cd426cf36d923adfd8985e4e9ed
parent0681f989357416d7ef28ebaea4151ce70a6ae21c
[PATCH] libertas: call SET_NETDEV_DEV from common code

Move usage of SET_NETDEV_DEV into common code since it has nothing
to do with bus-specific devices.  Also fixes a bug where the mesh
device was getting SET_NETDEV_DEV called after register_netdevice,
resulting in no 'device' link in /sys/class/net/mshX/.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/main.c