[PATCH] WE-21 for ray_cs

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Jean Tourrilhes 2006-08-29 18:04:09 -07:00 committed by John W. Linville
parent bad04f2ce0
commit 4ced38ac48
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ static int ray_set_essid(struct net_device *dev,
return -EOPNOTSUPP; return -EOPNOTSUPP;
} else { } else {
/* Check the size of the string */ /* Check the size of the string */
if(dwrq->length > IW_ESSID_MAX_SIZE + 1) { if(dwrq->length > IW_ESSID_MAX_SIZE) {
return -E2BIG; return -E2BIG;
} }