提交 4ced38ac 编写于 作者: J Jean Tourrilhes 提交者: John W. Linville

[PATCH] WE-21 for ray_cs

Signed-off-by: NJean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 bad04f2c
...@@ -1173,7 +1173,7 @@ static int ray_set_essid(struct net_device *dev, ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册