Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236097
b: refs/heads/master
c: e34870f
h: refs/heads/master
i:
  236095: f1cfe59
v: v3
  • Loading branch information
Roland Vossen authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent c0120d8 commit dd86700
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 55182a10063c40eda4dc5afecff712e5c3617ffc
refs/heads/master: e34870f828f8d9b7e2205c632cbc135a76f7dde6
7 changes: 3 additions & 4 deletions trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,7 @@ static int wl_ops_start(struct ieee80211_hw *hw)
WL_NONE("%s : Initial channel: %d\n", __func__, curchan->hw_value);
*/

WL_LOCK(wl);
ieee80211_wake_queues(hw);
WL_UNLOCK(wl);
blocked = wl_rfkill_set_hw_state(wl);
if (!blocked)
wiphy_rfkill_stop_polling(wl->pub->ieee_hw->wiphy);
Expand All @@ -185,9 +183,8 @@ static void wl_ops_stop(struct ieee80211_hw *hw)
{
struct wl_info *wl = hw->priv;
ASSERT(wl);
WL_LOCK(wl);
ieee80211_stop_queues(hw);
WL_UNLOCK(wl);
return;
}

static int
Expand Down Expand Up @@ -1988,8 +1985,10 @@ bool wl_rfkill_set_hw_state(struct wl_info *wl)

WL_NONE("%s: update hw state: blocked=%s\n", __func__,
blocked ? "true" : "false");
WL_UNLOCK(wl);
wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked);
if (blocked)
wiphy_rfkill_start_polling(wl->pub->ieee_hw->wiphy);
WL_LOCK(wl);
return blocked;
}

0 comments on commit dd86700

Please sign in to comment.