Skip to content

Commit

Permalink
[PATCH] WE-21 for ray_cs
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Jean Tourrilhes authored and John W. Linville committed Sep 25, 2006
1 parent bad04f2 commit 4ced38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ray_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4ced38a

Please sign in to comment.