Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162307
b: refs/heads/master
c: 2e9ab1e
h: refs/heads/master
i:
  162305: 8b8bff9
  162303: dca10f0
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent ed6f74a commit 63c7d33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 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: 658ce9d653056a537df70e3a796654446fc9ff64
refs/heads/master: 2e9ab1e72c631041f8a1c1d1fc7e5359e7e4a476
6 changes: 2 additions & 4 deletions trunk/drivers/staging/rt3090/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1840,10 +1840,8 @@ int rt_ioctl_siwencode(struct net_device *dev,
}
else
/* Don't complain if only change the mode */
if(!erq->flags & IW_ENCODE_MODE)
{
return -EINVAL;
}
if (!(erq->flags & IW_ENCODE_MODE))
return -EINVAL;
}

done:
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/staging/vt6656/iwctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1409,8 +1409,7 @@ int iwctl_siwencode(struct net_device *dev,
// Do we want to just set the transmit key index ?
if ( index < 4 ) {
pDevice->byKeyIndex = index;
}
else if(!wrq->flags & IW_ENCODE_MODE) {
} else if (!(wrq->flags & IW_ENCODE_MODE)) {
rc = -EINVAL;
return rc;
}
Expand Down

0 comments on commit 63c7d33

Please sign in to comment.