OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/drivers/net/wireless/ath/ath9k/init.c |
2 | +++ b/drivers/net/wireless/ath/ath9k/init.c |
||
3 | @@ -1144,25 +1144,25 @@ static int __init ath9k_init(void) |
||
4 | { |
||
5 | int error; |
||
6 | |||
7 | - error = ath_pci_init(); |
||
8 | + error = ath_ahb_init(); |
||
9 | if (error < 0) { |
||
10 | - pr_err("No PCI devices found, driver not installed\n"); |
||
11 | error = -ENODEV; |
||
12 | goto err_out; |
||
13 | } |
||
14 | |||
15 | - error = ath_ahb_init(); |
||
16 | + error = ath_pci_init(); |
||
17 | if (error < 0) { |
||
18 | + pr_err("No PCI devices found, driver not installed\n"); |
||
19 | error = -ENODEV; |
||
20 | - goto err_pci_exit; |
||
21 | + goto err_ahb_exit; |
||
22 | } |
||
23 | |||
24 | dmi_check_system(ath9k_quirks); |
||
25 | |||
26 | return 0; |
||
27 | |||
28 | - err_pci_exit: |
||
29 | - ath_pci_exit(); |
||
30 | + err_ahb_exit: |
||
31 | + ath_ahb_exit(); |
||
32 | err_out: |
||
33 | return error; |
||
34 | } |