Hi,

        WE-21 for ADMTek driver...
        Patch for wireless-2.6 git...

        Jean

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

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

diff -u -p linux/drivers/net/wireless/adm8211/adm8211_ioctl.20.c 
linux/drivers/net/wireless/adm8211/adm8211_ioctl.c
--- linux/drivers/net/wireless/adm8211/adm8211_ioctl.20.c       2006-08-29 
15:36:18.000000000 -0700
+++ linux/drivers/net/wireless/adm8211/adm8211_ioctl.c  2006-08-29 
15:36:30.000000000 -0700
@@ -294,7 +294,7 @@ static int adm8211_ioctl_siwessid(struct
        if (dwrq->flags == 0 || dwrq->length < 1)
                len = 0;
        else
-               len = min(dwrq->length - 1, IW_ESSID_MAX_SIZE);
+               len = min(dwrq->length, IW_ESSID_MAX_SIZE);
 
        memcpy(priv->ieee80211.ssid, essid, len);
        priv->ieee80211.ssid_len = len;
-
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