Commit 4f01ac01 authored by Mohamed Abbas's avatar Mohamed Abbas Committed by John W. Linville

iwlagn: allow power level setting all the times

allow user to set power level at all times
Signed-off-by: default avatarMohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5c2207c6
......@@ -3093,11 +3093,6 @@ static ssize_t store_power_level(struct device *d,
mutex_lock(&priv->mutex);
if (!iwl_is_ready(priv)) {
ret = -EAGAIN;
goto out;
}
ret = strict_strtoul(buf, 10, &mode);
if (ret)
goto out;
......
......@@ -4550,11 +4550,6 @@ static ssize_t store_power_level(struct device *d,
mutex_lock(&priv->mutex);
if (!iwl_is_ready(priv)) {
ret = -EAGAIN;
goto out;
}
ret = strict_strtoul(buf, 10, &mode);
if (ret)
goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment