diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-12-04 01:32:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-12-04 01:32:04 +0000 |
commit | 2a55832f5884d0512556d772b5532aa5737f39ad (patch) | |
tree | 001d013871bb58416622c40e93c6dee2979966fc /package/mac80211/patches/520-ath9k_pci_error_fix.patch | |
parent | b599f7dc42e33e6c04523deefabc316501e92baf (diff) | |
download | mtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.zip mtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.tar.gz mtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.tar.bz2 |
mac80211: update to wireless-testing 2010-11-30
SVN-Revision: 24235
Diffstat (limited to 'package/mac80211/patches/520-ath9k_pci_error_fix.patch')
-rw-r--r-- | package/mac80211/patches/520-ath9k_pci_error_fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/mac80211/patches/520-ath9k_pci_error_fix.patch b/package/mac80211/patches/520-ath9k_pci_error_fix.patch new file mode 100644 index 0000000..b8fcc99 --- /dev/null +++ b/package/mac80211/patches/520-ath9k_pci_error_fix.patch @@ -0,0 +1,13 @@ +--- a/drivers/net/wireless/ath/ath9k/pci.c ++++ b/drivers/net/wireless/ath/ath9k/pci.c +@@ -255,6 +255,10 @@ static void ath_pci_remove(struct pci_de + struct ath_wiphy *aphy = hw->priv; + struct ath_softc *sc = aphy->sc; + void __iomem *mem = sc->mem; ++ u16 val; ++ ++ /* Do a config read to clear pre-existing pci error status */ ++ pci_read_config_word(pdev, PCI_COMMAND, &val); + + ath9k_deinit_device(sc); + free_irq(sc->irq, sc); |