1 --- a/drivers/net/wireless/ath/ath9k/pci.c
2 +++ b/drivers/net/wireless/ath/ath9k/pci.c
3 @@ -255,6 +255,10 @@ static void ath_pci_remove(struct pci_de
4 struct ath_wiphy *aphy = hw->priv;
5 struct ath_softc *sc = aphy->sc;
6 void __iomem *mem = sc->mem;
9 + /* Do a config read to clear pre-existing pci error status */
10 + pci_read_config_word(pdev, PCI_COMMAND, &val);
12 ath9k_deinit_device(sc);
13 free_irq(sc->irq, sc);