aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-04-02 16:50:20 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-04-02 16:50:20 +0000
commita4891ea4d6f08fefa8754616cd71fdc3e8c4024a (patch)
tree5d5660606d2c8a7a49d8c24f08e3a1940e260313 /package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch
parent11a791a318a5c25552e230e8e6e472c2320a976b (diff)
downloadupstream-a4891ea4d6f08fefa8754616cd71fdc3e8c4024a.tar.gz
upstream-a4891ea4d6f08fefa8754616cd71fdc3e8c4024a.tar.bz2
upstream-a4891ea4d6f08fefa8754616cd71fdc3e8c4024a.zip
Update to compat-wireless-2009-03-31
SVN-Revision: 15083
Diffstat (limited to 'package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch')
-rw-r--r--package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch b/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch
deleted file mode 100644
index 4f832939c9..0000000000
--- a/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 14f870b27b836acee5f04809287175016ca16b05 Mon Sep 17 00:00:00 2001
-From: Ivo van Doorn <IvDoorn@gmail.com>
-Date: Sun, 15 Mar 2009 15:13:58 +0100
-Subject: [PATCH] rt2x00: Fix module loading in case of error (rt2800pci)
-
-Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
----
- drivers/net/wireless/rt2x00/rt2800pci.c | 9 +++++++++
- 1 files changed, 9 insertions(+), 0 deletions(-)
-
---- a/drivers/net/wireless/rt2x00/rt2800pci.c
-+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
-@@ -3014,10 +3014,19 @@ static int __init rt2800pci_init(void)
-
- #ifdef CONFIG_RT2800PCI_WISOC
- ret = platform_driver_register(&rt2800soc_driver);
-+ if (ret)
-+ return ret;
- #endif
- #ifdef CONFIG_RT2800PCI_PCI
- ret = pci_register_driver(&rt2800pci_driver);
-+ if (ret) {
-+#ifdef CONFIG_RT2800PCI_WISOC
-+ platform_driver_unregister(&rt2800soc_driver);
-+#endif
-+ return ret;
-+ }
- #endif
-+
- return ret;
- }
-