diff options
author | Jean Tourrilhes | 2006-08-29 18:04:09 -0700 |
---|---|---|
committer | John W. Linville | 2006-09-25 16:52:15 -0400 |
commit | 4ced38ac48137e1928dd40de3cdc074ec31c059d (patch) | |
tree | 70210914c3a67be2f4b26b1a4ed0eb4367574714 | |
parent | bad04f2ce00da5aaa6c8e97b1b80ad2ebd755b8b (diff) |
[PATCH] WE-21 for ray_cs
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index 4574290f971f..e82548ea609a 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c @@ -1173,7 +1173,7 @@ static int ray_set_essid(struct net_device *dev, return -EOPNOTSUPP; } else { /* Check the size of the string */ - if(dwrq->length > IW_ESSID_MAX_SIZE + 1) { + if(dwrq->length > IW_ESSID_MAX_SIZE) { return -E2BIG; } |