aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index ccff633a3948..992db89adce7 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -819,7 +819,7 @@ pci_intx(struct pci_dev *pdev, int enable)
819 } 819 }
820 820
821 if (new != pci_command) { 821 if (new != pci_command) {
822 pci_write_config_word(pdev, PCI_COMMAND, pci_command); 822 pci_write_config_word(pdev, PCI_COMMAND, new);
823 } 823 }
824} 824}
825 825