]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Reset caldata on radio enable
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 15 Sep 2011 13:32:54 +0000 (19:02 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Sep 2011 19:58:25 +0000 (15:58 -0400)
commit1dca9c109934446d6c9fff3c78ac0389b865bc64
treee07b098ba41d615ad6bc46f826667eb6371331c6
parent9caa54634f4886663f1a4f8ec6cf75c42ba7bdce
ath9k: Reset caldata on radio enable

Not doing so, the caldata continues to retain older history
values learned on that channel. It is always safer to start
noise floor calibration from the defaults after the assoication.
So this patch resets the nf history buffer when none of the
STA vifs are associated.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c