aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/40-fix-compile-on-2-6-30.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-07-23 11:25:05 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-07-23 11:25:05 +0000
commit96b6f272714e24f6aa03f3be2f41fcf3deed1048 (patch)
tree3c52643d66d169d4160a6aeebb760f2117d244f6 /package/mac80211/patches/40-fix-compile-on-2-6-30.patch
parent49f4d4217eb6b2aa709eade9ca80f145f8a422bd (diff)
downloadupstream-96b6f272714e24f6aa03f3be2f41fcf3deed1048.tar.gz
upstream-96b6f272714e24f6aa03f3be2f41fcf3deed1048.tar.bz2
upstream-96b6f272714e24f6aa03f3be2f41fcf3deed1048.zip
mca80211: add support for b43 on bcma bus.
This makes b43 work on broadcom SoCs using bcma as system bus. SVN-Revision: 27734
Diffstat (limited to 'package/mac80211/patches/40-fix-compile-on-2-6-30.patch')
-rw-r--r--package/mac80211/patches/40-fix-compile-on-2-6-30.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/40-fix-compile-on-2-6-30.patch b/package/mac80211/patches/40-fix-compile-on-2-6-30.patch
new file mode 100644
index 0000000000..277358524f
--- /dev/null
+++ b/package/mac80211/patches/40-fix-compile-on-2-6-30.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/b43/main.c~ 2011-07-23 00:33:46.573306410 +0200
++++ b/drivers/net/wireless/b43/main.c 2011-07-23 00:36:14.657726075 +0200
+@@ -4955,7 +4955,7 @@
+ static void b43_wireless_core_detach(struct b43_wldev *dev)
+ {
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)
+- if (dev->sdev->bus->bustype != SSB_BUSTYPE_SDIO)
++ if (dev->dev->sdev->bus->bustype != SSB_BUSTYPE_SDIO)
+ compat_destroy_threaded_irq(&dev->irq_compat);
+ #endif
+ /* We release firmware that late to not be required to re-request