]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix tx status flag setting for management frames
authorRakesh Pillai <pillair@codeaurora.org>
Thu, 6 Sep 2018 13:27:27 +0000 (18:57 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 1 Oct 2018 13:52:24 +0000 (16:52 +0300)
commit8c6a23cab00d91cc1429eefd8ba1a10d97131022
tree842dc1c5886bd872dd0cfd2fcf20121927f298c1
parent0ddf5f541f31df2d042266caac3e208ed0328df7
ath10k: fix tx status flag setting for management frames

The tx_status for management frames is being filled
incorrectly in the flags of skb_cb. This incorrect
flag setting causes the upper layers to consider that
the particular frame was not transmitted properly,
leading to improper behavior.

Set the IEEE80211_TX_STAT_ACK flag in the info flags
of skb_cb, to indicate the successful transmission of
the management frame.

Tested HW: WCN3990
Tested FW: WLAN.HL.2.0-01188-QCAHLSWMTPLZ-1

Fixes: f8b1062e685522b342069f71726b5236caf0736b
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi.c