]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: move some PCIe calls to better places
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Dec 2012 21:58:21 +0000 (22:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 14:33:00 +0000 (15:33 +0100)
commitf26cbe51a7f3cd88f97d7b052638dde95066e734
tree972837dccd252e075cf945866be1dc6bf688af74
parent371320454ff545693c3f9b1b45cf7daeab58b11e
iwlwifi: move some PCIe calls to better places

Synchronizing the IRQ is pointless when we will
then enable the RF-Kill interrupt again, but is
needed before we free it and the data needed to
handle IRQs; move it to the free function.

Simiarly, cancelling the replenish work struct
can move to the function that frees the RX data
structures.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c
drivers/net/wireless/iwlwifi/pcie/trans.c