From 84d6642e4d1609562abb421341c9a90c023247a1 Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Tue, 4 Jul 2017 11:53:51 +0200 Subject: backports:fix compilation with toradex kernels Signed-off-by: Dominik Sliwa --- net/mac80211/status.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/mac80211/status.c') 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 } } -- cgit v1.2.3