diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-02-17 13:07:44 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2012-02-17 13:10:28 -0500 |
commit | 1ee158d83853a9f5c1465be56d56ff56e6698e92 (patch) | |
tree | 15893fd02e9ac0ae42649c8725f66670ed7ba2a7 /drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |
parent | 2655e314c4b204966008689eaf3e87ba1f38d55c (diff) |
iwlwifi: move workqueue to priv
In order to separate the different parts of the
driver better, we are reducing the shared data.
This moves the workqueue to "priv", and removes
it from the transport. To do this, simply use
schedule_work() in the transport.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans-pcie.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c index f5cb5d3cd926..e8d1dbfa1aea 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c | |||
@@ -1293,6 +1293,8 @@ static void iwl_trans_pcie_stop_device(struct iwl_trans *trans) | |||
1293 | synchronize_irq(trans->irq); | 1293 | synchronize_irq(trans->irq); |
1294 | tasklet_kill(&trans_pcie->irq_tasklet); | 1294 | tasklet_kill(&trans_pcie->irq_tasklet); |
1295 | 1295 | ||
1296 | cancel_work_sync(&trans_pcie->rx_replenish); | ||
1297 | |||
1296 | /* stop and reset the on-board processor */ | 1298 | /* stop and reset the on-board processor */ |
1297 | iwl_write32(trans, CSR_RESET, CSR_RESET_REG_FLAG_NEVO_RESET); | 1299 | iwl_write32(trans, CSR_RESET, CSR_RESET_REG_FLAG_NEVO_RESET); |
1298 | } | 1300 | } |