diff options
author | Claudio Pisa <claudio.pisa@uniroma2.it> | 2012-05-28 08:06:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-29 13:45:23 -0400 |
commit | c26a0e105cf11fa482116cc59a7c6cd9c01dd61b (patch) | |
tree | 265be7420091df54ba2bb79e9d8610bb1a9c5967 /net/mac80211/tx.c | |
parent | bfc441a4bbe9b7a56d3611cc14c98cce3a573565 (diff) |
mac80211: fix flag check for QoS NOACK frames
Signed-off-by: Claudio Pisa <claudio.pisa@uniroma2.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 5f827a6b0d8d..847215bb2a6f 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -153,7 +153,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, | |||
153 | 153 | ||
154 | /* Don't calculate ACKs for QoS Frames with NoAck Policy set */ | 154 | /* Don't calculate ACKs for QoS Frames with NoAck Policy set */ |
155 | if (ieee80211_is_data_qos(hdr->frame_control) && | 155 | if (ieee80211_is_data_qos(hdr->frame_control) && |
156 | *(ieee80211_get_qos_ctl(hdr)) | IEEE80211_QOS_CTL_ACK_POLICY_NOACK) | 156 | *(ieee80211_get_qos_ctl(hdr)) & IEEE80211_QOS_CTL_ACK_POLICY_NOACK) |
157 | dur = 0; | 157 | dur = 0; |
158 | else | 158 | else |
159 | /* Time needed to transmit ACK | 159 | /* Time needed to transmit ACK |