diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-04-09 20:53:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 14:28:05 +0200 |
commit | 6e44dc4be009eef60a1744e4a4b830131f6b9a8e (patch) | |
tree | 09500de4233bd16eccc8c912420b0bcf10e0cf8a /drivers | |
parent | 3fa0917beb29d886550fcf61a6378563d1ce9684 (diff) | |
download | op-kernel-dev-6e44dc4be009eef60a1744e4a4b830131f6b9a8e.zip op-kernel-dev-6e44dc4be009eef60a1744e4a4b830131f6b9a8e.tar.gz |
staging: vt6655: implement IEEE80211_TX_STAT_NOACK_TRANSMITTED
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |