ath9k: fix per-packet tx power configuration
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Wed, 8 Apr 2015 18:51:57 +0000 (20:51 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 3 May 2015 20:54:38 +0000 (23:54 +0300)
commitf673821864899153142365aca888435815ac93f0
tree57b82b9ca75f7b6a2a9d541d038acd6dc099aa36
parent0581276deb9c2578a17d9f4463e7b5172da99eb9
ath9k: fix per-packet tx power configuration

Do not use ieee80211_vif pointer in ath_get_rate_txpower() since it has been
overwritten by setup_frame_info() and it will result in a corrupted tx power
configuration. Set per-packet tx power in setup_frame_info() according to
current vif tx power.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/xmit.c