projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/net/wireless/zd1201.c
b/drivers/net/wireless/zd1201.c
index c52e9bcf8d02f3fc688de9d7f1c17c49b51c9288..a44dda952c67b0e788d7a838c7fca159175b4daa 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);