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 {
|
||||
/* Check if AMSDU can accommodate this MSDU */
|
||||
if ((skb_aggr->len + skb_src->len + LLC_SNAP_LEN) >
|
||||
adapter->tx_buf_size)
|
||||
if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
|
||||
break;
|
||||
|
||||
skb_src = skb_dequeue(&pra_list->skb_head);
|
||||
|
|
Loading…
Reference in a new issue