diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c index 82e80b69d0be..8d6ad18d3890 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c | |||
@@ -357,8 +357,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id) | |||
357 | if (pci_set_mwi(pci_dev)) | 357 | if (pci_set_mwi(pci_dev)) |
358 | ERROR_PROBE("MWI not available.\n"); | 358 | ERROR_PROBE("MWI not available.\n"); |
359 | 359 | ||
360 | if (pci_set_dma_mask(pci_dev, DMA_64BIT_MASK) && | 360 | if (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) { |
361 | pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) { | ||
362 | ERROR_PROBE("PCI DMA not supported.\n"); | 361 | ERROR_PROBE("PCI DMA not supported.\n"); |
363 | retval = -EIO; | 362 | retval = -EIO; |
364 | goto exit_disable_device; | 363 | goto exit_disable_device; |