iwlwifi: disable interrupts before calling request_irq
authorJes Sorensen <jes@sgi.com>
Fri, 26 Oct 2007 14:10:39 +0000 (16:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:34 +0000 (15:03 -0800)
commit49df2b33478fd67e642d05786d06de322504842c
treea4b7a571ae5ac9b76cf901435f240bce31b0f212
parenteb76bf29dd4aceaf877b8971fbfda8617abe6e05
iwlwifi: disable interrupts before calling request_irq

Disable interrupts in the iwl4965 before calling request_irq() for
the case that the previous OS or the BIOS left a pending interrupt in
the chip. This behavior has been observed on some laptops such as T61
Thinkpads and Toshiba Portege R500

Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c