Skip to content

Commit

Permalink
staging: vt6655: implement IEEE80211_TX_STAT_NOACK_TRANSMITTED
Browse files Browse the repository at this point in the history
Make use of this macro for non ack frames.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v4.0
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed May 8, 2015
1 parent 3fa0917 commit 6e44dc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e44dc4

Please sign in to comment.