bcm63xx: Add support for the T-Com Speedport W 500V.
[openwrt.git] / package / mac80211 / patches / 570-ath9k_fix_module_reload.patch
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;
7 + u16 val;
8 +
9 + /* Do a config read to clear pre-existing pci error status */
10 + pci_read_config_word(pdev, PCI_COMMAND, &val);
11
12 ath9k_deinit_device(sc);
13 free_irq(sc->irq, sc);
This page took 0.046114 seconds and 5 git commands to generate.