]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libertas: fix RESET logic at unload time
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 25 May 2007 16:41:52 +0000 (12:41 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:39 +0000 (14:28 -0400)
commite0a1410e0fc612e219626a0071078859661643ad
tree69b7f6c02f92d0148d8e470137446b0125e14681
parent85c151ad3d90a92f0db2c7eb0daee6b1e16ec7d4
[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