summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2006-08-30 03:46:27 +0100
committerJohn W. Linville <linville@tuxdriver.com>2006-09-25 16:52:16 -0400
commita6082f4032a9667e844fecd974f17268249fb966 (patch)
tree2fe3c1bcdddc333984bae5108cd8e6a6cba7594b /drivers
parent22b99262f59ddf5d283e19047e37dbc3be907e93 (diff)
downloadop-kernel-dev-a6082f4032a9667e844fecd974f17268249fb966.zip
op-kernel-dev-a6082f4032a9667e844fecd974f17268249fb966.tar.gz
[PATCH] WE-21 for zd1211rw
Signed-off-by: Daniel Drake <dsd@gentoo.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_netdev.c b/drivers/net/wireless/zd1211rw/zd_netdev.c
index 440ef24..af3a7b3 100644
--- a/drivers/net/wireless/zd1211rw/zd_netdev.c
+++ b/drivers/net/wireless/zd1211rw/zd_netdev.c
@@ -82,7 +82,7 @@ static int iw_get_nick(struct net_device *netdev,
union iwreq_data *req, char *extra)
{
strcpy(extra, "zd1211");
- req->data.length = strlen(extra) + 1;
+ req->data.length = strlen(extra);
req->data.flags = 1;
return 0;
}
OpenPOWER on IntegriCloud