diff mbox series

[1/4] ath11k: reset qos control bit after stripping qos field in iee80211_hdr

Message ID 1559080376-26817-2-git-send-email-pradeepc@codeaurora.org (mailing list archive)
State Accepted
Commit e10d09bc1c2ff32905fae67d8b55e3d5bd8b4f8d
Delegated to: Kalle Valo
Headers show
Series ath11k: enable 11s secured mesh support | expand

Commit Message

Pradeep Kumar Chitrapu May 28, 2019, 9:52 p.m. UTC
fix resetting qos control bit in frame control when qos control field
is stripped from native wifi packet.

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_tx.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo May 29, 2019, 3:21 p.m. UTC | #1
Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> wrote:

> fix resetting qos control bit in frame control when qos control field
> is stripped from native wifi packet.
> 
> Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>

4 patches applied to ath.git, thanks.

e10d09bc1c2f ath11k: reset qos control bit after stripping qos field in iee80211_hdr
291848e1edc1 ath11k: pad mic len for protected action frames
28c2a93e7c41 ath11k: fix multicast txrx for secure 11s mesh support
5710b3f7f0f9 ath11k: fix action frame rx processing
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c
index 55a19a05558f..2a15ca33d83c 100644
--- a/drivers/net/wireless/ath/ath11k/dp_tx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_tx.c
@@ -32,6 +32,7 @@  static void ath11k_dp_encap_nwifi(struct sk_buff *skb)
 		skb->data, (void *)qos_ctl - (void *)skb->data);
 	skb_pull(skb, IEEE80211_QOS_CTL_LEN);
 
+	hdr = (void *)skb->data;
 	hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA);
 }