Commit c26a0e10 authored by Claudio Pisa's avatar Claudio Pisa Committed by John W. Linville

mac80211: fix flag check for QoS NOACK frames

Signed-off-by: default avatarClaudio Pisa <claudio.pisa@uniroma2.it>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bfc441a4
...@@ -153,7 +153,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, ...@@ -153,7 +153,7 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx,
/* Don't calculate ACKs for QoS Frames with NoAck Policy set */ /* Don't calculate ACKs for QoS Frames with NoAck Policy set */
if (ieee80211_is_data_qos(hdr->frame_control) && if (ieee80211_is_data_qos(hdr->frame_control) &&
*(ieee80211_get_qos_ctl(hdr)) | IEEE80211_QOS_CTL_ACK_POLICY_NOACK) *(ieee80211_get_qos_ctl(hdr)) & IEEE80211_QOS_CTL_ACK_POLICY_NOACK)
dur = 0; dur = 0;
else else
/* Time needed to transmit ACK /* Time needed to transmit ACK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment