OSDN Git Service

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)
commit0aa86df673d2122fcffc43ed0266279e1b8d8204
tree972837dccd252e075cf945866be1dc6bf688af74
parenta8b691e6104e6bd27070b6ed6622d0b640707fa8
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