]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix get channel default noise floor
authorWojciech Dubowik <Wojciech.Dubowik@neratec.com>
Tue, 30 Jan 2018 12:06:07 +0000 (14:06 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 7 Feb 2018 14:14:08 +0000 (16:14 +0200)
commit9a9de28517b4510c17bdf647dcb14ab55696d65c
tree40bbfc6716a6537fc0758bbbb4cd1a117f2bb153
parent5c478d022591009d144c8b5f703d3df603910396
ath9k: Fix get channel default noise floor

Commit 7aa5c96ed14a ("ath9k: Use calibrated noise floor value
when available") introduced regression in ath9k_hw_getchan_noise
where per chain nominal noise floor has been taken instead default
for channel.
Revert to original default channel noise floor.

Fixes: 7aa5c96ed14a ("ath9k: Use calibrated noise floor value when available")
Reported-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/calib.c