aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/601-rt2x00-set_pci_mwi.patch')
-rw-r--r--package/mac80211/patches/601-rt2x00-set_pci_mwi.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch b/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
index 225b6207eb..d9a20bc107 100644
--- a/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
+++ b/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
@@ -6,8 +6,8 @@
+#ifdef CONFIG_PCI_SET_MWI
if (pci_set_mwi(pci_dev))
- ERROR_PROBE("MWI not available.\n");
+ rt2x00_probe_err("MWI not available\n");
+#endif
if (dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32))) {
- ERROR_PROBE("PCI DMA not supported.\n");
+ rt2x00_probe_err("PCI DMA not supported\n");