aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-02-17 13:07:44 -0500
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-02-17 13:10:28 -0500
commit1ee158d83853a9f5c1465be56d56ff56e6698e92 (patch)
tree15893fd02e9ac0ae42649c8725f66670ed7ba2a7 /drivers/net/wireless/iwlwifi/iwl-agn-lib.c
parent2655e314c4b204966008689eaf3e87ba1f38d55c (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-agn-lib.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
index a8f7689aaacf..30b99b9abf7f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
@@ -700,7 +700,7 @@ static void iwlagn_set_kill_msk(struct iwl_priv *priv,
700 priv->kill_cts_mask = bt_kill_cts_msg[kill_msk]; 700 priv->kill_cts_mask = bt_kill_cts_msg[kill_msk];
701 701
702 /* schedule to send runtime bt_config */ 702 /* schedule to send runtime bt_config */
703 queue_work(priv->shrd->workqueue, &priv->bt_runtime_config); 703 queue_work(priv->workqueue, &priv->bt_runtime_config);
704 } 704 }
705} 705}
706 706
@@ -745,7 +745,7 @@ int iwlagn_bt_coex_profile_notif(struct iwl_priv *priv,
745 IWL_BT_COEX_TRAFFIC_LOAD_NONE; 745 IWL_BT_COEX_TRAFFIC_LOAD_NONE;
746 } 746 }
747 priv->bt_status = coex->bt_status; 747 priv->bt_status = coex->bt_status;
748 queue_work(priv->shrd->workqueue, 748 queue_work(priv->workqueue,
749 &priv->bt_traffic_change_work); 749 &priv->bt_traffic_change_work);
750 } 750 }
751 } 751 }