mac80211: split ath patch in dedicated subdir
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / ath / 501-ath9k_ahb_init.patch
diff --git a/package/kernel/mac80211/patches/ath/501-ath9k_ahb_init.patch b/package/kernel/mac80211/patches/ath/501-ath9k_ahb_init.patch
deleted file mode 100644 (file)
index b9c784e..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/init.c
-+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -1143,25 +1143,25 @@ static int __init ath9k_init(void)
- {
-       int error;
--      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_out;
-       }
--      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;
-       }
-       dmi_check_system(ath9k_quirks);
-       return 0;
-- err_pci_exit:
--      ath_pci_exit();
-+ err_ahb_exit:
-+      ath_ahb_exit();
-  err_out:
-       return error;
- }