Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352195
b: refs/heads/master
c: 3b44b3b
h: refs/heads/master
i:
  352193: e356eac
  352191: 812fe48
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Dec 4, 2012
1 parent c26ca15 commit ce5d4b7
Show file tree
Hide file tree
Showing 2 changed files with 12 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: ea5084356fb05093da9ff225fd2c2fcfd363371c
refs/heads/master: 3b44b3b3687534be24171db6ff80669b3a6dcbab
13 changes: 11 additions & 2 deletions trunk/drivers/net/wireless/ti/wlcore/acx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,13 +1433,22 @@ int wl12xx_acx_set_ba_receiver_session(struct wl1271 *wl, u8 tid_index,
acx->win_size = wl->conf.ht.rx_ba_win_size;
acx->ssn = ssn;

ret = wl1271_cmd_configure(wl, ACX_BA_SESSION_RX_SETUP, acx,
sizeof(*acx));
ret = wlcore_cmd_configure_failsafe(wl, ACX_BA_SESSION_RX_SETUP, acx,
sizeof(*acx),
BIT(CMD_STATUS_NO_RX_BA_SESSION));
if (ret < 0) {
wl1271_warning("acx ba receiver session failed: %d", ret);
goto out;
}

/* sometimes we can't start the session */
if (ret == CMD_STATUS_NO_RX_BA_SESSION) {
wl1271_warning("no fw rx ba on tid %d", tid_index);
ret = -EBUSY;
goto out;
}

ret = 0;
out:
kfree(acx);
return ret;
Expand Down

0 comments on commit ce5d4b7

Please sign in to comment.