diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2009-03-18 22:22:57 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2009-03-18 22:22:57 +0000 |
commit | 201c742996fb4218a94f38f199567c1209b3b7cf (patch) | |
tree | 97f691b5f8881e6e751068c4054f22ec943f1cba /package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch | |
parent | 06452459df6022ed1f3c274d07e6493fc785f5a2 (diff) | |
download | master-187ad058-201c742996fb4218a94f38f199567c1209b3b7cf.tar.gz master-187ad058-201c742996fb4218a94f38f199567c1209b3b7cf.tar.bz2 master-187ad058-201c742996fb4218a94f38f199567c1209b3b7cf.zip |
[mac80211] Update compat-wireless to 2009-03-18
Removing of include/net/ieee80211_radiotap.h is not needed, because it is only used by this compat-wireless.
There are changes in that file and compat-wireless needs the newest version.
Some more symbols are deactivated in the default config file, this will make building faster.
The rt2800pci patches are up to date now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14946 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch | 32 |
1 files changed, 32 insertions, 0 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 new file mode 100644 index 0000000000..4f832939c9 --- /dev/null +++ b/package/mac80211/patches/306-rt2x00-Fix-module-loading-in-case-of-error-rt2800p.patch @@ -0,0 +1,32 @@ +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; + } + |