From: Malcolm Priestley Date: Thu, 9 Apr 2015 19:53:44 +0000 (+0100) Subject: staging: vt6655: implement IEEE80211_TX_STAT_NOACK_TRANSMITTED X-Git-Tag: v5.15~15766^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e44dc4be009eef60a1744e4a4b830131f6b9a8e;p=platform%2Fkernel%2Flinux-starfive.git staging: vt6655: implement IEEE80211_TX_STAT_NOACK_TRANSMITTED Make use of this macro for non ack frames. Signed-off-by: Malcolm Priestley Cc: # v4.0 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 7cd5484..6d3df95 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -912,7 +912,11 @@ static int vnt_int_report_rate(struct vnt_private *priv, if (!(tsr1 & TSR1_TERR)) { info->status.rates[0].idx = idx; - info->flags |= IEEE80211_TX_STAT_ACK; + + if (info->flags & IEEE80211_TX_CTL_NO_ACK) + info->flags |= IEEE80211_TX_STAT_NOACK_TRANSMITTED; + else + info->flags |= IEEE80211_TX_STAT_ACK; } return 0;