aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/rt2x00/rt2x00pci.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-06-24 11:43:00 +0200
committerJan Kara <jack@suse.cz>2008-06-24 11:43:00 +0200
commit19fd426a18b48a0446ba4b54ac66264916dcb7f3 (patch)
treeb9e0f2bc35e746c14f5e5e5519ed79f1eb4b0f98 /drivers/net/wireless/rt2x00/rt2x00pci.c
parente8183c2452041326c95258ecc7865b6fcd91c730 (diff)
parent62786b9e81a2dbe9c073a2ade52d33a2627d6d85 (diff)
Merge branch 'master' into for_mm
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
index 971af2546b5..60893de3bf8 100644
--- a/drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
@@ -412,8 +412,7 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct pci_device_id *id)
if (pci_set_mwi(pci_dev))
ERROR_PROBE("MWI not available.\n");
- if (pci_set_dma_mask(pci_dev, DMA_64BIT_MASK) &&
- pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) {
+ if (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK)) {
ERROR_PROBE("PCI DMA not supported.\n");
retval = -EIO;
goto exit_disable_device;