diff options
author | Jean Tourrilhes <jt@hpl.hp.com> | 2006-08-29 18:07:11 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-09-25 16:52:16 -0400 |
commit | 22b99262f59ddf5d283e19047e37dbc3be907e93 (patch) | |
tree | 2b368ee2bc99e0c888e8ad4ecf60b0e6322ec256 /drivers/net | |
parent | de9621bc5637be5f9e3e3ff2fc1475b3de41132e (diff) | |
download | linux-22b99262f59ddf5d283e19047e37dbc3be907e93.tar.gz linux-22b99262f59ddf5d283e19047e37dbc3be907e93.tar.bz2 linux-22b99262f59ddf5d283e19047e37dbc3be907e93.zip |
[PATCH] WE-21 for zd1201
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/zd1201.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c index c52e9bcf8d02..a44dda952c67 100644 --- a/drivers/net/wireless/zd1201.c +++ b/drivers/net/wireless/zd1201.c @@ -1218,7 +1218,7 @@ static int zd1201_set_essid(struct net_device *dev, return -EINVAL; if (data->length < 1) data->length = 1; - zd->essidlen = data->length-1; + zd->essidlen = data->length; memset(zd->essid, 0, IW_ESSID_MAX_SIZE+1); memcpy(zd->essid, essid, data->length); return zd1201_join(zd, zd->essid, zd->essidlen); |