diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r-- | drivers/net/wireless/mwifiex/11n.h | 5 | ||||
-rw-r--r-- | drivers/net/wireless/mwifiex/wmm.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.h b/drivers/net/wireless/mwifiex/11n.h index 9128d2c9638b..02602ff30cbf 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) | |||
92 | } | 92 | } |
93 | 93 | ||
94 | /* | 94 | /* |
95 | * This function checks whether a BA stream is available or not. | 95 | * This function checks whether a space is available for new BA stream or not. |
96 | */ | 96 | */ |
97 | static inline u8 mwifiex_is_ba_stream_avail(struct mwifiex_adapter *adapter) | 97 | static inline u8 mwifiex_space_avail_for_new_ba_stream( |
98 | struct mwifiex_adapter *adapter) | ||
98 | { | 99 | { |
99 | struct mwifiex_private *priv; | 100 | struct mwifiex_private *priv; |
100 | u8 i; | 101 | u8 i; |
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) | |||
1186 | mwifiex_send_single_packet() */ | 1186 | mwifiex_send_single_packet() */ |
1187 | } else { | 1187 | } else { |
1188 | if (mwifiex_is_ampdu_allowed(priv, tid)) { | 1188 | if (mwifiex_is_ampdu_allowed(priv, tid)) { |
1189 | if (mwifiex_is_ba_stream_avail(adapter)) { | 1189 | if (mwifiex_space_avail_for_new_ba_stream(adapter)) { |
1190 | mwifiex_11n_create_tx_ba_stream_tbl(priv, | 1190 | mwifiex_11n_create_tx_ba_stream_tbl(priv, |
1191 | ptr->ra, tid, | 1191 | ptr->ra, tid, |
1192 | BA_STREAM_SETUP_INPROGRESS); | 1192 | BA_STREAM_SETUP_INPROGRESS); |