aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/carl9170/tx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/tx.c b/drivers/net/wireless/ath/carl9170/tx.c
index 84377cf580e0..ef4ec0da6e49 100644
--- a/drivers/net/wireless/ath/carl9170/tx.c
+++ b/drivers/net/wireless/ath/carl9170/tx.c
@@ -1485,6 +1485,13 @@ void carl9170_op_tx(struct ieee80211_hw *hw,
1485 } 1485 }
1486 1486
1487 if (info->flags & IEEE80211_TX_CTL_AMPDU) { 1487 if (info->flags & IEEE80211_TX_CTL_AMPDU) {
1488 /* to static code analyzers and reviewers:
1489 * mac80211 guarantees that a valid "sta"
1490 * reference is present, if a frame is to
1491 * be part of an ampdu. Hence any extra
1492 * sta == NULL checks are redundant in this
1493 * special case.
1494 */
1488 run = carl9170_tx_ampdu_queue(ar, sta, skb); 1495 run = carl9170_tx_ampdu_queue(ar, sta, skb);
1489 if (run) 1496 if (run)
1490 carl9170_tx_ampdu(ar); 1497 carl9170_tx_ampdu(ar);