projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: Tune the XWAY subtarget cflags
[openwrt.git]
/
package
/
mac80211
/
patches
/
601-rt2x00-set_pci_mwi.patch
diff --git
a/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
b/package/mac80211/patches/601-rt2x00-set_pci_mwi.patch
index
225b620
..
d9a20bc
100644
(file)
--- 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))
+#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))) {
+#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");