Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184466
b: refs/heads/master
c: c82c1dd
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Feb 19, 2010
1 parent fdab489 commit a47289c
Show file tree
Hide file tree
Showing 2 changed files with 10 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: e2e77b5ffb14211306ee093f01230f6ec69fab30
refs/heads/master: c82c1dde3024715c4cd8b6dd8cc7c75d8d7d93c8
11 changes: 9 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1738,19 +1738,26 @@ static int wl1271_op_conf_tx(struct ieee80211_hw *hw, u16 queue,

wl1271_debug(DEBUG_MAC80211, "mac80211 conf tx %d", queue);

ret = wl1271_ps_elp_wakeup(wl, false);
if (ret < 0)
goto out;

ret = wl1271_acx_ac_cfg(wl, wl1271_tx_get_queue(queue),
params->cw_min, params->cw_max,
params->aifs, params->txop);
if (ret < 0)
goto out;
goto out_sleep;

ret = wl1271_acx_tid_cfg(wl, wl1271_tx_get_queue(queue),
CONF_CHANNEL_TYPE_EDCF,
wl1271_tx_get_queue(queue),
CONF_PS_SCHEME_LEGACY_PSPOLL,
CONF_ACK_POLICY_LEGACY, 0, 0);
if (ret < 0)
goto out;
goto out_sleep;

out_sleep:
wl1271_ps_elp_sleep(wl);

out:
mutex_unlock(&wl->mutex);
Expand Down

0 comments on commit a47289c

Please sign in to comment.