projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: add separate last_ack variable
[cascardo/linux.git]
/
net
/
mac80211
/
status.c
diff --git
a/net/mac80211/status.c
b/net/mac80211/status.c
index
8b1b2ea
..
c6d5c72
100644
(file)
--- a/
net/mac80211/status.c
+++ b/
net/mac80211/status.c
@@
-188,7
+188,7
@@
static void ieee80211_frame_acked(struct sta_info *sta, struct sk_buff *skb)
struct ieee80211_sub_if_data *sdata = sta->sdata;
if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS))
struct ieee80211_sub_if_data *sdata = sta->sdata;
if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS))
- sta->
rx_stats.last_rx
= jiffies;
+ sta->
status_stats.last_ack
= jiffies;
if (ieee80211_is_data_qos(mgmt->frame_control)) {
struct ieee80211_hdr *hdr = (void *) skb->data;
if (ieee80211_is_data_qos(mgmt->frame_control)) {
struct ieee80211_hdr *hdr = (void *) skb->data;
@@
-647,7
+647,7
@@
void ieee80211_tx_status_noskb(struct ieee80211_hw *hw,
sta->status_stats.retry_count += retry_count;
if (acked) {
sta->status_stats.retry_count += retry_count;
if (acked) {
- sta->
rx_stats.last_rx
= jiffies;
+ sta->
status_stats.last_ack
= jiffies;
if (sta->status_stats.lost_packets)
sta->status_stats.lost_packets = 0;
if (sta->status_stats.lost_packets)
sta->status_stats.lost_packets = 0;