We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eb37b41 + 9757d55 commit 3ac38c3Copy full SHA for 3ac38c3
drivers/net/wireless/ath9k/main.c
@@ -37,6 +37,8 @@ static struct pci_device_id ath_pci_id_table[] __devinitdata = {
37
{ 0 }
38
};
39
40
+static void ath_detach(struct ath_softc *sc);
41
+
42
static int ath_get_channel(struct ath_softc *sc,
43
struct ieee80211_channel *chan)
44
{
@@ -813,7 +815,7 @@ static int ath_start_rfkill_poll(struct ath_softc *sc)
813
815
pci_iounmap(sc->pdev, sc->mem);
814
816
pci_release_region(sc->pdev, 0);
817
pci_disable_device(sc->pdev);
- ieee80211_free_hw(hw);
818
+ ieee80211_free_hw(sc->hw);
819
return -EIO;
820
} else {
821
sc->sc_flags |= SC_OP_RFKILL_REGISTERED;
0 commit comments