Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158806
b: refs/heads/master
c: cee4fd2
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Jul 10, 2009
1 parent fb2b885 commit 6c6aabe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6021b2895891b161f73ede9938c101234c63218e
refs/heads/master: cee4fd2712a3db21f432bdff14e59aed160453b2
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,11 +957,15 @@ static int wl12xx_op_set_rts_threshold(struct ieee80211_hw *hw, u32 value)
struct wl12xx *wl = hw->priv;
int ret;

mutex_lock(&wl->mutex);

ret = wl12xx_acx_rts_threshold(wl, (u16) value);

if (ret < 0)
wl12xx_warning("wl12xx_op_set_rts_threshold failed: %d", ret);

mutex_unlock(&wl->mutex);

return ret;
}

Expand Down

0 comments on commit 6c6aabe

Please sign in to comment.