aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
authorMohamed Abbas <mabbas@linux.intel.com>2008-04-21 18:41:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:15 -0400
commit5da4b55f78fb2ed40926b775d4f7c791594ecbd7 (patch)
treea12ecf0d26552869151738998e88e03e65bcb7c3 /drivers/net/wireless/iwlwifi/iwl-core.c
parent7eafd25d9559bd0f652449c222d38d63412e3d4a (diff)
iwlwifi: Add power level support
Add power level support Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index 2dfd982d7d1f..c336b1991f1a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -37,6 +37,7 @@ struct iwl_priv; /* FIXME: remove */
37#include "iwl-4965.h" /* FIXME: remove */ 37#include "iwl-4965.h" /* FIXME: remove */
38#include "iwl-core.h" 38#include "iwl-core.h"
39#include "iwl-rfkill.h" 39#include "iwl-rfkill.h"
40#include "iwl-power.h"
40 41
41 42
42MODULE_DESCRIPTION("iwl core"); 43MODULE_DESCRIPTION("iwl core");
@@ -263,8 +264,10 @@ int iwlcore_low_level_notify(struct iwl_priv *priv,
263 if (ret) 264 if (ret)
264 IWL_ERROR("Unable to initialize RFKILL system. " 265 IWL_ERROR("Unable to initialize RFKILL system. "
265 "Ignoring error: %d\n", ret); 266 "Ignoring error: %d\n", ret);
267 iwl_power_initialize(priv);
266 break; 268 break;
267 case IWLCORE_START_EVT: 269 case IWLCORE_START_EVT:
270 iwl_power_update_mode(priv, 1);
268 break; 271 break;
269 case IWLCORE_STOP_EVT: 272 case IWLCORE_STOP_EVT:
270 break; 273 break;