aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/502-ath9k_ahb_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/502-ath9k_ahb_init.patch')
-rw-r--r--package/mac80211/patches/502-ath9k_ahb_init.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/mac80211/patches/502-ath9k_ahb_init.patch b/package/mac80211/patches/502-ath9k_ahb_init.patch
deleted file mode 100644
index 9e715526a6..0000000000
--- a/package/mac80211/patches/502-ath9k_ahb_init.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/init.c
-+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -984,23 +984,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();