]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ath5k: remove dummy PCI "retry timeout" fix
authorBob Copeland <me@bobcopeland.com>
Tue, 17 Mar 2009 02:34:03 +0000 (22:34 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:55 +0000 (20:12 -0400)
Remove the PCI retry timeout code, for all the same reasons that
Luis Rodriguez removed it for ath9k.

Changes-licensed-under: 3-Clause-BSD

Cc: Luis Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c

index 8eec155ed0cc7dfcab68427c37aa14ef43050746..ef9825fa4ec85ff60f43dfe00d9bc23a50772e49 100644 (file)
@@ -685,13 +685,6 @@ ath5k_pci_resume(struct pci_dev *pdev)
        if (err)
                return err;
 
-       /*
-        * Suspend/Resume resets the PCI configuration space, so we have to
-        * re-disable the RETRY_TIMEOUT register (0x41) to keep
-        * PCI Tx retries from interfering with C3 CPU state
-        */
-       pci_write_config_byte(pdev, 0x41, 0);
-
        err = request_irq(pdev->irq, ath5k_intr, IRQF_SHARED, "ath", sc);
        if (err) {
                ATH5K_ERR(sc, "request_irq failed\n");