diff options
author | Mohamed Abbas <mohamed.abbas@intel.com> | 2009-03-18 00:51:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:12:57 -0400 |
commit | 4f01ac01539d83709d6ae314fc172da7b7e70456 (patch) | |
tree | 82b698760c9222d301ee2c0195918392c0501a1d /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 5c2207c64209be2fe0d6b43ada2e41b28a948015 (diff) |
iwlagn: allow power level setting all the times
allow user to set power level at all times
Signed-off-by: Mohamed Abbas <mohamed.abbas@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-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index c1482852ea41..663dc83be501 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -3093,11 +3093,6 @@ static ssize_t store_power_level(struct device *d, | |||
3093 | 3093 | ||
3094 | mutex_lock(&priv->mutex); | 3094 | mutex_lock(&priv->mutex); |
3095 | 3095 | ||
3096 | if (!iwl_is_ready(priv)) { | ||
3097 | ret = -EAGAIN; | ||
3098 | goto out; | ||
3099 | } | ||
3100 | |||
3101 | ret = strict_strtoul(buf, 10, &mode); | 3096 | ret = strict_strtoul(buf, 10, &mode); |
3102 | if (ret) | 3097 | if (ret) |
3103 | goto out; | 3098 | goto out; |