Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237363
b: refs/heads/master
c: 67acad5
h: refs/heads/master
i:
  237361: 70092d0
  237359: 6797b81
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Feb 9, 2011
1 parent 2615ee1 commit 1d69f85
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f266526da4d78b7af639e98777d453888b039c00
refs/heads/master: 67acad5fe5df591e8f629050667912b0db2c72e7
9 changes: 7 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1419,8 +1419,13 @@ bool iwl_good_ack_health(struct iwl_priv *priv, struct iwl_rx_packet *pkt)
if (priv->_agn.agg_tids_count)
return true;

cur = &pkt->u.stats.tx;
old = &priv->_agn.statistics.tx;
if (iwl_bt_statistics(priv)) {
cur = &pkt->u.stats_bt.tx;
old = &priv->_agn.statistics_bt.tx;
} else {
cur = &pkt->u.stats.tx;
old = &priv->_agn.statistics.tx;
}

actual_delta = le32_to_cpu(cur->actual_ack_cnt) -
le32_to_cpu(old->actual_ack_cnt);
Expand Down

0 comments on commit 1d69f85

Please sign in to comment.