diff options
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 |