]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: keep calibrated noise floor value for oper channel
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 14 Jan 2011 20:03:28 +0000 (01:33 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:10 +0000 (11:36 -0500)
commitd530d539e5f2657c7bf18c87f447389cd0d134b3
treec5f0e2a8ebb47c2db9de173d61cdc5a9b2712ba9
parent16ceed9dfe437aa0f47b9d8f331e9783dc588140
ath9k_htc: keep calibrated noise floor value for oper channel

The ath9k_hw assumes that caldata is valid only for
oper channel. But with ath9k_htc case, the caldata is
passed for all channels on hw_reset though we are not doing
calibration on that channel. So the oper channel's nf history
got cleared to default due to mismatch in channel flags.
This patch also saves some space.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_main.c