projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad04f2
)
[PATCH] WE-21 for ray_cs
author
Jean Tourrilhes
<jt@hpl.hp.com>
Wed, 30 Aug 2006 01:04:09 +0000
(18:04 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:15 +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/ray_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ray_cs.c
b/drivers/net/wireless/ray_cs.c
index 4574290f971fe0aeb6f39b81d83dde7684f15936..e82548ea609ac100f7310e81c8e7acdb4a946840 100644
(file)
--- a/
drivers/net/wireless/ray_cs.c
+++ b/
drivers/net/wireless/ray_cs.c
@@
-1173,7
+1173,7
@@
static int ray_set_essid(struct net_device *dev,
return -EOPNOTSUPP;
} else {
/* Check the size of the string */
- if(dwrq->length > IW_ESSID_MAX_SIZE
+ 1
) {
+ if(dwrq->length > IW_ESSID_MAX_SIZE) {
return -E2BIG;
}