aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/pcie/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/pcie/trans.c')
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/trans.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c
index e52d1ce1501c..eca44299c512 100644
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/iwlwifi/pcie/trans.c
@@ -1416,6 +1416,11 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
1416 goto out_no_pci; 1416 goto out_no_pci;
1417 } 1417 }
1418 1418
1419 /* W/A - seems to solve weird behavior. We need to remove this if we
1420 * don't want to stay in L1 all the time. This wastes a lot of power */
1421 pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1 |
1422 PCIE_LINK_STATE_CLKPM);
1423
1419 pci_set_master(pdev); 1424 pci_set_master(pdev);
1420 1425
1421 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(36)); 1426 err = pci_set_dma_mask(pdev, DMA_BIT_MASK(36));