OSDN Git Service

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)
commitb9607de6cf22a5cd268b9206177a9baafb6e8ac8
tree40bbfc6716a6537fc0758bbbb4cd1a117f2bb153
parent34f1cb339cae5c0b6b75094e2d5c79d19be424ed
ath9k: Fix get channel default noise floor

Commit 8da58553cc63 ("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: 8da58553cc63 ("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