projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4684c23
)
[PATCH] libertas: fix size of SSID comparison in stop_adhoc check
author
Dan Williams
<dcbw@redhat.com>
Fri, 11 May 2007 02:52:37 +0000
(22:52 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 11 May 2007 18:54:53 +0000
(14:54 -0400)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/assoc.c
b/drivers/net/wireless/libertas/assoc.c
index
b55c7f5
..
dfffabc
100644
(file)
--- a/
drivers/net/wireless/libertas/assoc.c
+++ b/
drivers/net/wireless/libertas/assoc.c
@@
-333,7
+333,7
@@
static int should_stop_adhoc(wlan_adapter *adapter,
if (adapter->curbssparams.ssid.ssidlength != assoc_req->ssid.ssidlength)
return 1;
if (memcmp(adapter->curbssparams.ssid.ssid, assoc_req->ssid.ssid,
-
sizeof(struct WLAN_802_11_SSID)
))
+
adapter->curbssparams.ssid.ssidlength
))
return 1;
/* FIXME: deal with 'auto' mode somehow */