diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-07-07 13:28:55 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-07-07 13:28:55 +0000 |
commit | f0b801dc33f8f674aa6d3b2904dfb1f5b5b6d073 (patch) | |
tree | db2492a01bfd32206614e0873b97449a7b9e6cf7 /packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch | |
parent | ff0e28efe32b6211561fd26cc43adcc9565ecdb8 (diff) | |
parent | b9ab794b1a74510f69a5cd5afb1738425028b34a (diff) |
merge of 'b25bbba02ddb4b23e57f722647bea8974b902b1e'
and 'c2b7bf2b98443cd961a60ce5dd26e8d6e01afda2'
Diffstat (limited to 'packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch')
-rw-r--r-- | packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch b/packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch new file mode 100644 index 0000000000..b5439c62e7 --- /dev/null +++ b/packages/linux/linux-rp-2.6.21/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)) { |