Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 246895
b: refs/heads/master
c: 53d7938
h: refs/heads/master
i:
  246893: eeb0640
  246891: e9dcdcb
  246887: c4f4333
  246879: 374274b
v: v3
  • Loading branch information
Bing Zhao authored and John W. Linville committed Apr 14, 2011
1 parent 39f9ca6 commit 650e67a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 572e8f3ead47ad223fb428a4f1db986317e8e0ec
refs/heads/master: 53d7938e6a2ac6569476fc59b404e70c0537b42b
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/11n.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ mwifiex_is_amsdu_allowed(struct mwifiex_private *priv, int tid)
}

/*
* This function checks whether a BA stream is available or not.
* This function checks whether a space is available for new BA stream or not.
*/
static inline u8 mwifiex_is_ba_stream_avail(struct mwifiex_adapter *adapter)
static inline u8 mwifiex_space_avail_for_new_ba_stream(
struct mwifiex_adapter *adapter)
{
struct mwifiex_private *priv;
u8 i;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/mwifiex/wmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ mwifiex_dequeue_tx_packet(struct mwifiex_adapter *adapter)
mwifiex_send_single_packet() */
} else {
if (mwifiex_is_ampdu_allowed(priv, tid)) {
if (mwifiex_is_ba_stream_avail(adapter)) {
if (mwifiex_space_avail_for_new_ba_stream(adapter)) {
mwifiex_11n_create_tx_ba_stream_tbl(priv,
ptr->ra, tid,
BA_STREAM_SETUP_INPROGRESS);
Expand Down

0 comments on commit 650e67a

Please sign in to comment.