FROMLIST: 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.

Change-Id: Ib5676bba4dc10dcf6e042ba7720daec258103336
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Govind Singh <govinds@codeaurora.org>
(am from https://patchwork.kernel.org/patch/10590615/)
Reviewed-on: https://chromium-review.googlesource.com/c/1343768
Reviewed-by: Zhihong Yu <zhihongyu@chromium.org>
Tested-by: Zhihong Yu <zhihongyu@chromium.org>
1 file changed