summaryrefslogtreecommitdiff
path: root/net/mac80211/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r--net/mac80211/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 83b8b11..7d769a1 100644
--- a/net/mac80211/status.c
+++ b/net/mac80211/status.c
@@ -542,8 +542,10 @@ static void ieee80211_report_used_skb(struct ieee80211_local *local,
}
if (!dropped && skb->destructor) {
+#if LINUX_VERSION_IS_GEQ(3,3,0)
skb->wifi_acked_valid = 1;
skb->wifi_acked = acked;
+#endif
}
}