diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 303c4b483f5b..7ff95f80b817 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3573,12 +3573,10 @@ static ssize_t show_power_level(struct device *d, | |||
3573 | struct device_attribute *attr, char *buf) | 3573 | struct device_attribute *attr, char *buf) |
3574 | { | 3574 | { |
3575 | struct iwl_priv *priv = dev_get_drvdata(d); | 3575 | struct iwl_priv *priv = dev_get_drvdata(d); |
3576 | int mode = priv->power_data.user_power_setting; | ||
3577 | int level = priv->power_data.power_mode; | 3576 | int level = priv->power_data.power_mode; |
3578 | char *p = buf; | 3577 | char *p = buf; |
3579 | 3578 | ||
3580 | p += sprintf(p, "INDEX:%d\t", level); | 3579 | p += sprintf(p, "%d\n", level); |
3581 | p += sprintf(p, "USER:%d\n", mode); | ||
3582 | return p - buf + 1; | 3580 | return p - buf + 1; |
3583 | } | 3581 | } |
3584 | 3582 | ||