summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/wmm.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-04-14 04:27:09 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-14 23:35:13 +0400
commit53d7938e6a2ac6569476fc59b404e70c0537b42b (patch)
treef261c6472a550c0dfc5caac32b2e6f70fe165ded /drivers/net/wireless/mwifiex/wmm.c
parent572e8f3ead47ad223fb428a4f1db986317e8e0ec (diff)
downloadlinux-53d7938e6a2ac6569476fc59b404e70c0537b42b.tar.xz
mwifiex: rename function mwifiex_is_ba_stream_avail
The old function name sounds like checking for existing BA stream. The function actually checks if we have room for creating new BA stream or not. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/wmm.c')
-rw-r--r--drivers/net/wireless/mwifiex/wmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/wmm.c b/drivers/net/wireless/mwifiex/wmm.c
index 57b98c59235d..99e8431c1e93 100644
--- a/drivers/net/wireless/mwifiex/wmm.c
+++ b/drivers/net/wireless/mwifiex/wmm.c
@@ -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);