OSDN Git Service

libertas: fix GSPI card event handling
authorandrey@cozybit.com <andrey@cozybit.com>
Wed, 20 May 2009 00:20:13 +0000 (17:20 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 May 2009 18:06:00 +0000 (14:06 -0400)
commitea2d06395b6de717a5e0c4b6e55f3047cae2131f
tree7e595306cd1d102eb7231f0784cacdf7cb040daa
parent4ef699fb771d347b31ddafd214c0dd47b90f7f0f
libertas: fix GSPI card event handling

The GPSI interface driver does not re-enable the Card Event Interrupt, which
causes problems after a card event (for example: link-loss) comes in.  This
can lead, for example, to the card failing to re-associate.  This patch
ensures that we re-enable the Card Event Interrupt when we handle card events.

Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c