Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369061
b: refs/heads/master
c: 75592be
h: refs/heads/master
i:
  369059: 68538dd
v: v3
  • Loading branch information
Arik Nemtsov authored and Luciano Coelho committed Mar 25, 2013
1 parent ba90d8b commit 49950f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 0e752df6fda25993acc30e1162808fbb2543be03
refs/heads/master: 75592be5e35b31eb28dacf578cfe82f0e9bc0ac0
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ static void wl1271_reg_notify(struct wiphy *wiphy,

}

if (likely(wl->state == WLCORE_STATE_ON))
wlcore_regdomain_config(wl);
wlcore_regdomain_config(wl);
}

static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif,
Expand Down Expand Up @@ -3364,6 +3363,10 @@ void wlcore_regdomain_config(struct wl1271 *wl)
return;

mutex_lock(&wl->mutex);

if (unlikely(wl->state != WLCORE_STATE_ON))
goto out;

ret = wl1271_ps_elp_wakeup(wl);
if (ret < 0)
goto out;
Expand Down

0 comments on commit 49950f3

Please sign in to comment.