diff --git a/[refs] b/[refs] index f913413f5654..234734888680 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ed30013207ef3e36da4f39db1298ae53f799e29c +refs/heads/master: 1c7e4a7c326c916918b5a29051db4f93973e775a diff --git a/trunk/drivers/staging/otus/ioctl.c b/trunk/drivers/staging/otus/ioctl.c index 6808e69fb354..86d93330acad 100644 --- a/trunk/drivers/staging/otus/ioctl.c +++ b/trunk/drivers/staging/otus/ioctl.c @@ -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))