[PATCH] libertas: fix RESET logic at unload time
commit435a1acba23437a6c8462dd8437e48cdf09a2f71
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 16:41:52 +0000 (25 12:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:39 +0000 (11 14:28 -0400)
tree69b7f6c02f92d0148d8e470137446b0125e14681
parent084708b61014776198c56d1606343d4f504c691e
[PATCH] libertas: fix RESET logic at unload time

Previously, we had a fixed array of 5 elements where we remembered all
initialized devices. This has been changed to use a "struct list_head"
organization, which is IMHO cleaner.

Also renamed usb_cardp to cardp, as in the reset of the code.

Renamed reset_device() to if_usb_reset_device() like many other functions.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/if_usb.h