summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2016-09-09 15:19:40 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-09-09 15:19:40 +0300
commit3cd32dde17ea938651b434fc35dee8370f555378 (patch)
treef55e2a98eb716ba1976aeb21d02ffbea3711fd26 /drivers/net/wireless/marvell/mwifiex
parent78a9e170388b672f609cb6e8e097e0ddca24e6f5 (diff)
parente34f2ff40e0339f6a379e1ecf49e8f2759056453 (diff)
downloadop-kernel-dev-3cd32dde17ea938651b434fc35dee8370f555378.zip
op-kernel-dev-3cd32dde17ea938651b434fc35dee8370f555378.tar.gz
Merge branch 'ath-current' into ath-next
Commit 3c97f5de1f28 ("ath10k: implement NAPI support") conflicts with ath-current. To avoid any merge problems merge ath-current to ath-next already now. Conflicts: drivers/net/wireless/ath/ath10k/htt_rx.c
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/11n_aggr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
index dc49c3d..c47d636 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
@@ -205,7 +205,8 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
do {
/* Check if AMSDU can accommodate this MSDU */
- if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
+ if ((skb_aggr->len + skb_src->len + LLC_SNAP_LEN) >
+ adapter->tx_buf_size)
break;
skb_src = skb_dequeue(&pra_list->skb_head);
OpenPOWER on IntegriCloud