diff options
Diffstat (limited to 'drivers/net')
-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, | |||
1173 | return -EOPNOTSUPP; | 1173 | return -EOPNOTSUPP; |
1174 | } else { | 1174 | } else { |
1175 | /* Check the size of the string */ | 1175 | /* Check the size of the string */ |
1176 | if(dwrq->length > IW_ESSID_MAX_SIZE + 1) { | 1176 | if(dwrq->length > IW_ESSID_MAX_SIZE) { |
1177 | return -E2BIG; | 1177 | return -E2BIG; |
1178 | } | 1178 | } |
1179 | 1179 | ||