]> 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)
commitea930d51155eea92f6567074186b490df7adc2ce
treee07b098ba41d615ad6bc46f826667eb6371331c6
parentbbba6cc8fd238e8e6e439e200d866ee19857d526
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