| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH wireless-2.6 3/10] hostap: Disable interrupts before Genesis mode |
| From: | Jouni Malinen <jkmaline@xxxxxxxxx> |
| Date: | Sat, 12 Mar 2005 16:30:51 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20050313001706.GA8253@xxxxxxxxx> |
| References: | <20050313001706.GA8253@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6i |
Disable interrupts before trying to initialize card after Genesis mode
download. This seems to be required at least with SanDisk ConnectPlus,
but seems to be a good idea in generic, so just do it with all cards.
Signed-off-by: Jouni Malinen <jkmaline@xxxxxxxxx>
Index: jm-wireless-2.6/drivers/net/wireless/hostap/hostap_download.c
===================================================================
--- jm-wireless-2.6.orig/drivers/net/wireless/hostap/hostap_download.c
2005-03-12 16:10:40.000000000 -0800
+++ jm-wireless-2.6/drivers/net/wireless/hostap/hostap_download.c
2005-03-12 16:10:52.000000000 -0800
@@ -464,6 +464,11 @@
local->hw_downloading = 0;
PDEBUG(DEBUG_EXTRA2, "Trying to initialize card\n");
+ /*
+ * Make sure the INIT command does not generate a command completion
+ * event by disabling interrupts.
+ */
+ hfa384x_disable_interrupts(dev);
if (prism2_hw_init(dev, 1)) {
printk(KERN_DEBUG "%s: Initialization after genesis mode "
"download failed\n", dev->name);
--
Jouni Malinen PGP id EFC895FA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH wireless-2.6 2/10] hostap: Include asm/io.h, Jouni Malinen |
|---|---|
| Next by Date: | [PATCH wireless-2.6 4/10] hostap: Add support for multi-func SanDisk ConnectPlus, Jouni Malinen |
| Previous by Thread: | Re: [PATCH wireless-2.6 2/10] hostap: Include asm/io.h, Jeff Garzik |
| Next by Thread: | [PATCH wireless-2.6 4/10] hostap: Add support for multi-func SanDisk ConnectPlus, Jouni Malinen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |