summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2015-10-27 21:13:19 +0100
committerBjørn Mork <bjorn@mork.no>2015-10-27 21:13:19 +0100
commitd02ac48b8a0dd929e74cc3c4730e2afe2dd3eca1 (patch)
treea4f023a7996927bd436034e909124e3cb258f097
parent69130858227c3ac10675e6f3679925b02a23a0d7 (diff)
mwlwifi: more debug log on amsdu operation
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--tx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tx.c b/tx.c
index c3a9c49..3334c77 100644
--- a/tx.c
+++ b/tx.c
@@ -618,7 +618,8 @@ static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
spin_unlock_bh(&sta_info->amsdu_lock);
dev_dbg(&priv->hw->wiphy->dev, "%pM amsdu->num=%u, tx_skb->len=%zu, amsdu->skb->len=%zu", sta->addr, amsdu->num, tx_skb->len, amsdu->skb->len);
-
+ if (amsdu->skb->len < 100)
+ dev_dbg(&priv->hw->wiphy->dev, "%pM amsdu: %*ph", sta->addr, (int)amsdu->skb->len, amsdu->skb->data)
return NULL;
}