[PATCH] WE-21 for zd1211rw
authorDaniel Drake <dsd@gentoo.org>
Wed, 30 Aug 2006 02:46:27 +0000 (03:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:16 +0000 (16:52 -0400)
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_netdev.c

index 440ef24..af3a7b3 100644 (file)
@@ -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;
 }