diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
commit | c0c371b58134d391f46de6dabf2bd0a96267cb38 (patch) | |
tree | 7b489799c8ddbfdd0ac3462317ce2be1a41368ed /package/mac80211/patches/502-ath9k_ahb_init.patch | |
parent | c379502147ee31e5b429ea8c38ae8c79e158e96a (diff) | |
download | upstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.gz upstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.bz2 upstream-c0c371b58134d391f46de6dabf2bd0a96267cb38.zip |
mac80211: update to wireless-testing 2012-04-13
SVN-Revision: 31322
Diffstat (limited to 'package/mac80211/patches/502-ath9k_ahb_init.patch')
-rw-r--r-- | package/mac80211/patches/502-ath9k_ahb_init.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/package/mac80211/patches/502-ath9k_ahb_init.patch b/package/mac80211/patches/502-ath9k_ahb_init.patch new file mode 100644 index 0000000000..4681b2936c --- /dev/null +++ b/package/mac80211/patches/502-ath9k_ahb_init.patch @@ -0,0 +1,32 @@ +--- a/drivers/net/wireless/ath/ath9k/init.c ++++ b/drivers/net/wireless/ath/ath9k/init.c +@@ -901,23 +901,23 @@ static int __init ath9k_init(void) + goto err_out; + } + +- error = ath_pci_init(); ++ error = ath_ahb_init(); + if (error < 0) { +- pr_err("No PCI devices found, driver not installed\n"); + error = -ENODEV; + goto err_rate_unregister; + } + +- error = ath_ahb_init(); ++ error = ath_pci_init(); + if (error < 0) { ++ pr_err("No PCI devices found, driver not installed\n"); + error = -ENODEV; +- goto err_pci_exit; ++ goto err_ahb_exit; + } + + return 0; + +- err_pci_exit: +- ath_pci_exit(); ++ err_ahb_exit: ++ ath_ahb_exit(); + + err_rate_unregister: + ath_rate_control_unregister(); |