Hi,

        WE-21 for Raylink driver...

        Jean

Signed-off-by: Jean Tourrilhes <[EMAIL PROTECTED]>

-----------------------------------------------------------

diff -u -p linux/drivers/net/wireless/ray_cs.20.c 
linux/drivers/net/wireless/ray_cs.c
--- linux/drivers/net/wireless/ray_cs.20.c      2006-08-28 17:39:54.000000000 
-0700
+++ linux/drivers/net/wireless/ray_cs.c 2006-08-28 17:40:02.000000000 -0700
@@ -1173,7 +1173,7 @@ static int ray_set_essid(struct net_devi
                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;
                }
 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to