ath10k: clear tx status before submitting to mac80211
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 14 Nov 2013 09:34:18 +0000 (10:34 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 15 Nov 2013 09:04:53 +0000 (11:04 +0200)
commit5d04e4120a6ef2eac3a3a80bda6a16bb90f2da2c
tree9ed1e7873716842ea3a1ec4a946cd34127e1ca15
parent71098615730f01cd5e70c7777b691572ee2bafb0
ath10k: clear tx status before submitting to mac80211

Garbage was reported in ieee80211_tx_info. This
led to a WARN_ON in cfg80211_calculate_bitrate().

This also fixes some random tx bitrate values
reported through `iw` command.

Reported-By: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/txrx.c