aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/11n_aggr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/mwifiex/11n_aggr.c')
-rw-r--r--drivers/net/wireless/mwifiex/11n_aggr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/mwifiex/11n_aggr.c b/drivers/net/wireless/mwifiex/11n_aggr.c
index 395f1bfd4102..68d52cfc1ebd 100644
--- a/drivers/net/wireless/mwifiex/11n_aggr.c
+++ b/drivers/net/wireless/mwifiex/11n_aggr.c
@@ -197,7 +197,7 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
197 ra_list_flags); 197 ra_list_flags);
198 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad); 198 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad);
199 199
200 mwifiex_write_data_complete(adapter, skb_src, 0); 200 mwifiex_write_data_complete(adapter, skb_src, 0, 0);
201 201
202 spin_lock_irqsave(&priv->wmm.ra_list_spinlock, ra_list_flags); 202 spin_lock_irqsave(&priv->wmm.ra_list_spinlock, ra_list_flags);
203 203
@@ -256,7 +256,7 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
256 if (!mwifiex_is_ralist_valid(priv, pra_list, ptrindex)) { 256 if (!mwifiex_is_ralist_valid(priv, pra_list, ptrindex)) {
257 spin_unlock_irqrestore(&priv->wmm.ra_list_spinlock, 257 spin_unlock_irqrestore(&priv->wmm.ra_list_spinlock,
258 ra_list_flags); 258 ra_list_flags);
259 mwifiex_write_data_complete(adapter, skb_aggr, -1); 259 mwifiex_write_data_complete(adapter, skb_aggr, 1, -1);
260 return -1; 260 return -1;
261 } 261 }
262 if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA && 262 if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_STA &&
@@ -282,13 +282,13 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
282 dev_err(adapter->dev, "%s: host_to_card failed: %#x\n", 282 dev_err(adapter->dev, "%s: host_to_card failed: %#x\n",
283 __func__, ret); 283 __func__, ret);
284 adapter->dbg.num_tx_host_to_card_failure++; 284 adapter->dbg.num_tx_host_to_card_failure++;
285 mwifiex_write_data_complete(adapter, skb_aggr, ret); 285 mwifiex_write_data_complete(adapter, skb_aggr, 1, ret);
286 return 0; 286 return 0;
287 case -EINPROGRESS: 287 case -EINPROGRESS:
288 adapter->data_sent = false; 288 adapter->data_sent = false;
289 break; 289 break;
290 case 0: 290 case 0:
291 mwifiex_write_data_complete(adapter, skb_aggr, ret); 291 mwifiex_write_data_complete(adapter, skb_aggr, 1, ret);
292 break; 292 break;
293 default: 293 default:
294 break; 294 break;