[LIBERTAS]: fix interrupts in CF driver
authorRyan Mallon <ryan@bluewatersys.com>
Fri, 7 Sep 2007 01:32:42 +0000 (21:32 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:27 +0000 (16:52 -0700)
commit28de0b36be2a4e7fb0ba7c9a77d61aeb229b27c0
treef1aaa2fa6af4c1d58bb3d17483e3684e0390b889
parent6f05cbe5882e8b0fc5a984313cbb14ce7741411b
[LIBERTAS]: fix interrupts in CF driver

The following patch fixes the tx transmit timeout problem, which is
caused by the interrupts being incorrectly check and masked. The patch
moves the interrupt masking code so that interrupts are enabled only
when the driver is registered and only disabled when the driver is
unregistered.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/libertas/if_cs.c