Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111433
b: refs/heads/master
c: 926f0b2
h: refs/heads/master
i:
  111431: 50d653e
v: v3
  • Loading branch information
Emmanuel Grumbach authored and John W. Linville committed Sep 8, 2008
1 parent a736b20 commit 8c3114d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e21f2c109edd746a10e08186484bae8168cdd0c
refs/heads/master: 926f0b2ef24041db876ec7213fbddd7cd4555951
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3726,7 +3726,7 @@ static ssize_t store_flags(struct device *d,
unsigned long val;
u32 flags;
int ret = strict_strtoul(buf, 0, &val);
if (!ret)
if (ret)
return ret;
flags = (u32)val;

Expand Down Expand Up @@ -3765,7 +3765,7 @@ static ssize_t store_filter_flags(struct device *d,
unsigned long val;
u32 filter_flags;
int ret = strict_strtoul(buf, 0, &val);
if (!ret)
if (ret)
return ret;
filter_flags = (u32)val;

Expand Down Expand Up @@ -3905,7 +3905,7 @@ static ssize_t store_power_level(struct device *d,
}

ret = strict_strtoul(buf, 10, &mode);
if (!ret)
if (ret)
goto out;

ret = iwl_power_set_user_mode(priv, mode);
Expand Down

0 comments on commit 8c3114d

Please sign in to comment.