libertas: add sd8686 reset_card support
authorDaniel Drake <dsd@laptop.org>
Tue, 7 Jun 2011 17:15:57 +0000 (18:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jun 2011 18:57:47 +0000 (14:57 -0400)
commit9a821f5d0fc36425e95f0f4ade4bbca8f0ebff4d
treecc87d063af26affab99a46595d10961daeab12f7
parent43a1c2721acd792aea370ee68ef054e18c944373
libertas: add sd8686 reset_card support

At http://dev.laptop.org/ticket/10748 we are seeing a case of the
libertas firmware randomly stopping responding to commands after
resume. Careful monitoring of communications indicates a firmware or
hardware bug, which has been reported to Marvell.

Work around this issue by adding a reset_card method; this is
automatically called when command timeouts are detected and provides an
instant recovery to this situation.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_sdio.c