]> 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)
commit964ecf13096ceaf591018e5e9ddecc1edfccc5a6
tree939fac562c197eaf0845814138eb32ec46b1cc27
parentbbb1360c363e25adf39638e65ae3af7fb09a2e10
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