summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tx.c b/tx.c
index 788e826..a1fab03 100644
--- a/tx.c
+++ b/tx.c
@@ -617,7 +617,7 @@ static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
spin_unlock_bh(&sta_info->amsdu_lock);
- wiphy_warn(priv->hw->wiphy,"%s: amsdu->num=%u, tx_skb->len=%zu, amsdu->skb->len=%zu", __func__, amsdu->num, tx_skb->len, amsdu->skb->len );
+ 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);
return NULL;
}
@@ -1173,6 +1173,9 @@ void mwl_tx_flush_amsdu(unsigned long data)
spin_lock(&priv->sta_lock);
list_for_each_entry(sta_info, &priv->sta_list, list) {
+ struct ieee80211_sta *sta = container_of((char *)sta_info, struct ieee80211_sta, drv_priv[0]);
+ dev_dbg(&hw->wiphy->dev, "%pM", sta->addr);
+
spin_lock(&priv->tx_desc_lock);
spin_lock(&sta_info->amsdu_lock);
for (i = 0; i < SYSADPT_TX_WMM_QUEUES; i++) {
@@ -1200,6 +1203,7 @@ void mwl_tx_flush_amsdu(unsigned long data)
priv->iobase1 + MACREG_REG_A2H_INTERRUPT_STATUS_MASK);
priv->is_qe_schedule = false;
+
}
void mwl_tx_del_sta_amsdu_pkts(struct ieee80211_sta *sta)