summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-17 00:06:49 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-17 00:06:49 +0000
commite5a07e89eee07991812965e5de9855524326046d (patch)
treeaf0292e04acbd90cec81e21a5c10b76731ed7bba /packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch
parentaf568c07872e91924a320060b9b651ad23efc67c (diff)
parentce10c417ad24f7d9d1db3e63a076d56ac9143252 (diff)
merge of '4c6f4640a8b948badde77deaaebbfc2c9959ecae'
and 'e5e5a9814f67f07864e0b56012257f49ace89669'
Diffstat (limited to 'packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch')
-rw-r--r--packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch b/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch
new file mode 100644
index 0000000000..b5439c62e7
--- /dev/null
+++ b/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch
@@ -0,0 +1,17 @@
+Index: linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c
+===================================================================
+--- linux-2.6.21.orig/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:45:39.000000000 +0100
++++ linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:47:30.000000000 +0100
+@@ -2666,6 +2666,12 @@
+ iface = netdev_priv(dev);
+ local = iface->local;
+
++ if(dev->base_addr == 0)
++ {
++ printk(KERN_DEBUG "%s: IRQ before base_addr set\n", dev->name);
++ return IRQ_HANDLED;
++ }
++
+ prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0);
+
+ if (local->func->card_present && !local->func->card_present(local)) {