]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: simplify calibration collection
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Mar 2012 20:26:45 +0000 (13:26 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Apr 2012 20:37:16 +0000 (16:37 -0400)
commit93d99e1a431007d424d2521a762b89eb68611777
tree939fac562c197eaf0845814138eb32ec46b1cc27
parentf05617c9df6a19245924f0fca8d93f229c417dee
iwlwifi: simplify calibration collection

The calibration results all come in while we're
waiting for the calibration complete notification.
As a consequence, there's no need to install a
global RX handler for them, we can use the newly
extended notification wait framework for this and
make the code easier to follow.

It is now quite explicit that we are processing
the calibration results while waiting for the
complete notification, before this was implicit
and developers had to know this to understand why
we wait for the calibration complete notification
and what happens while we wait.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rx.c
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-ucode.c