File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -592,10 +592,9 @@ static void ieee80211_tx_latency_end_msrmnt(struct ieee80211_local *local,
592
592
#define STA_LOST_TDLS_PKT_THRESHOLD 10
593
593
#define STA_LOST_TDLS_PKT_TIME (10*HZ) /* 10secs since last ACK */
594
594
595
- static void ieee80211_lost_packet (struct sta_info * sta , struct sk_buff * skb )
595
+ static void ieee80211_lost_packet (struct sta_info * sta ,
596
+ struct ieee80211_tx_info * info )
596
597
{
597
- struct ieee80211_tx_info * info = IEEE80211_SKB_CB (skb );
598
-
599
598
/* This packet was aggregated but doesn't carry status info */
600
599
if ((info -> flags & IEEE80211_TX_CTL_AMPDU ) &&
601
600
!(info -> flags & IEEE80211_TX_STAT_AMPDU ))
@@ -767,7 +766,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb)
767
766
if (test_sta_flag (sta , WLAN_STA_TDLS_PEER_AUTH ))
768
767
sta -> last_tdls_pkt_time = jiffies ;
769
768
} else {
770
- ieee80211_lost_packet (sta , skb );
769
+ ieee80211_lost_packet (sta , info );
771
770
}
772
771
}
773
772
You can’t perform that action at this time.
0 commit comments