From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 25 Jul 2011 09:56:23 +0000 (+0000)
Subject: mac80211: rename a misnamed patch
X-Git-Tag: reboot~16176
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1266eb49eede1f1bb1f5bab230b0a1f9ee22408a;p=openwrt%2Fstaging%2Fxback.git

mac80211: rename a misnamed patch

SVN-Revision: 27769
---

diff --git a/package/mac80211/patches/040-fix_compile_on_2.6.30.patch b/package/mac80211/patches/040-fix_compile_on_2.6.30.patch
new file mode 100644
index 0000000000..277358524f
--- /dev/null
+++ b/package/mac80211/patches/040-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
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
deleted file mode 100644
index 277358524f..0000000000
--- a/package/mac80211/patches/40-fix-compile-on-2-6-30.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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