fix handling of amsdu packets
This commit is contained in:
parent
6239353285
commit
d07f054fc8
|
@ -200,8 +200,7 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
|
||||||
|
|
||||||
do {
|
do {
|
||||||
/* Check if AMSDU can accommodate this MSDU */
|
/* Check if AMSDU can accommodate this MSDU */
|
||||||
if ((skb_aggr->len + skb_src->len + LLC_SNAP_LEN) >
|
if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
|
||||||
adapter->tx_buf_size)
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
skb_src = skb_dequeue(&pra_list->skb_head);
|
skb_src = skb_dequeue(&pra_list->skb_head);
|
||||||
|
|
Loading…
Reference in a new issue