Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162473
b: refs/heads/master
c: 8f67918
h: refs/heads/master
i:
  162471: 1a4db8a
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 075b275 commit 9e52ee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 49debb5684009d56ec5a0f930e513b1044db5e76
refs/heads/master: 8f679185a300d89b73ed348ecae361515b97ef59
4 changes: 2 additions & 2 deletions trunk/drivers/staging/rt2860/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1369,8 +1369,8 @@ int rt_ioctl_siwfrag(struct net_device *dev,

if (frag->disabled)
val = MAX_FRAG_THRESHOLD;
else if (frag->value >= MIN_FRAG_THRESHOLD || frag->value <= MAX_FRAG_THRESHOLD)
val = __cpu_to_le16(frag->value & ~0x1); /* even numbers only */
else if (frag->value >= MIN_FRAG_THRESHOLD && frag->value <= MAX_FRAG_THRESHOLD)
val = __cpu_to_le16(frag->value & ~0x1); /* even numbers only */
else if (frag->value == 0)
val = MAX_FRAG_THRESHOLD;
else
Expand Down

0 comments on commit 9e52ee0

Please sign in to comment.