Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186612
b: refs/heads/master
c: 1c7e4a7
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent e572239 commit d881649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: ed30013207ef3e36da4f39db1298ae53f799e29c
refs/heads/master: 1c7e4a7c326c916918b5a29051db4f93973e775a
2 changes: 1 addition & 1 deletion trunk/drivers/staging/otus/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ int usbdrvwext_siwessid(struct net_device *dev,
return -EINVAL;

if (essid->flags == 1) {
if (essid->length > (IW_ESSID_MAX_SIZE + 1))
if (essid->length > IW_ESSID_MAX_SIZE)
return -E2BIG;

if (copy_from_user(&EssidBuf, essid->pointer, essid->length))
Expand Down

0 comments on commit d881649

Please sign in to comment.