diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2016-09-14 19:34:50 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-09-14 19:34:50 +0300 |
commit | af1afc2957d63f84a37b168e56be7a7ef6b43650 (patch) | |
tree | 943688e1340b28032ec3b8c8c60e2b4be54759a5 /drivers/net/wireless/marvell | |
parent | 75696fe704774039e0e2ca65be24d79739ed206d (diff) | |
parent | 95b5bf7ccca0d7ba575a7e26a7ed4146b9190071 (diff) | |
download | op-kernel-dev-af1afc2957d63f84a37b168e56be7a7ef6b43650.zip op-kernel-dev-af1afc2957d63f84a37b168e56be7a7ef6b43650.tar.gz |
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
ath.git patches for 4.9. Major changes:
ath10k
* add nl80211 testmode support for 10.4 firmware
* hide kernel addresses from logs using %pK format specifier
* implement NAPI support
* enable peer stats by default
ath9k
* use ieee80211_tx_status_noskb where possible
wil6210
* extract firmware capabilities from the firmware file
ath6kl
* enable firmware crash dumps on the AR6004
ath-current is also merged to fix a conflict in ath10k.
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/11n_aggr.c | 3 |
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); |