Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166301
b: refs/heads/master
c: e31f7b9
h: refs/heads/master
i:
  166299: 1e89a6b
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Sep 23, 2009
1 parent 7515009 commit b82d225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33e2fb2f2b5d3b2f491fccab0ead256e34447cc6
refs/heads/master: e31f7b96f0252e8da06df1bc7fd0f6dbc8cbec42
8 changes: 1 addition & 7 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1226,11 +1226,6 @@ static void ath9k_rfkill_poll_state(struct ieee80211_hw *hw)
bool blocked = !!ath_is_rfkill_set(sc);

wiphy_rfkill_set_hw_state(hw->wiphy, blocked);

if (blocked)
ath_radio_disable(sc);
else
ath_radio_enable(sc);
}

static void ath_start_rfkill_poll(struct ath_softc *sc)
Expand Down Expand Up @@ -1260,6 +1255,7 @@ void ath_detach(struct ath_softc *sc)
DPRINTF(sc, ATH_DBG_CONFIG, "Detach ATH hw\n");

ath_deinit_leds(sc);
wiphy_rfkill_stop_polling(sc->hw->wiphy);

for (i = 0; i < sc->num_sec_wiphy; i++) {
struct ath_wiphy *aphy = sc->sec_wiphy[i];
Expand Down Expand Up @@ -2166,8 +2162,6 @@ static void ath9k_stop(struct ieee80211_hw *hw)
} else
sc->rx.rxlink = NULL;

wiphy_rfkill_stop_polling(sc->hw->wiphy);

/* disable HAL and put h/w to sleep */
ath9k_hw_disable(sc->sc_ah);
ath9k_hw_configpcipowersave(sc->sc_ah, 1, 1);
Expand Down

0 comments on commit b82d225

Please sign in to comment.