summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/11n.h
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2011-04-13 17:27:09 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-04-14 15:35:13 -0400
commit53d7938e6a2ac6569476fc59b404e70c0537b42b (patch)
treef261c6472a550c0dfc5caac32b2e6f70fe165ded /drivers/net/wireless/mwifiex/11n.h
parent572e8f3ead47ad223fb428a4f1db986317e8e0ec (diff)
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/11n.h')
-rw-r--r--drivers/net/wireless/mwifiex/11n.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.h b/drivers/net/wireless/mwifiex/11n.h
index 9128d2c9638..02602ff30cb 100644
--- a/drivers/net/wireless/mwifiex/11n.h
+++ b/drivers/net/wireless/mwifiex/11n.h
@@ -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;