mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do...
[openwrt.git] / package / mac80211 / patches / 600-rt2x00-disable-pci-code-if-CONFIG_PCI-not-defined.patch
1 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c
2 +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
3 @@ -209,6 +209,7 @@ void rt2x00pci_uninitialize(struct rt2x0
4 }
5 EXPORT_SYMBOL_GPL(rt2x00pci_uninitialize);
6
7 +#ifdef CONFIG_PCI
8 /*
9 * PCI driver handlers.
10 */
11 @@ -388,6 +389,7 @@ int rt2x00pci_resume(struct pci_dev *pci
12 }
13 EXPORT_SYMBOL_GPL(rt2x00pci_resume);
14 #endif /* CONFIG_PM */
15 +#endif /* CONFIG_PCI */
16
17 /*
18 * rt2x00pci module information.
This page took 0.045145 seconds and 5 git commands to generate.