projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9621b
)
[PATCH] WE-21 for zd1201
author
Jean Tourrilhes
<jt@hpl.hp.com>
Wed, 30 Aug 2006 01:07:11 +0000
(18:07 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:16 +0000
(16:52 -0400)
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1201.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/zd1201.c
b/drivers/net/wireless/zd1201.c
index
c52e9bc
..
a44dda9
100644
(file)
--- 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);