]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite70cd91852956f21e788a485fb9e9a98f52b3328
tree57b82b9ca75f7b6a2a9d541d038acd6dc099aa36
parentdb5ff6647b234df6f19f19c4c319fc85df3ef82d
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