projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa5c13
)
Fixed SA Query Request length
author
Jouni Malinen
<jouni.malinen@atheros.com>
Wed, 31 Dec 2008 15:50:14 +0000
(17:50 +0200)
committer
Jouni Malinen
<j@w1.fi>
Wed, 31 Dec 2008 15:50:14 +0000
(17:50 +0200)
Do not send extra 24 octets of random data in the end.
hostapd/ieee802_11.c
patch
|
blob
|
history
diff --git
a/hostapd/ieee802_11.c
b/hostapd/ieee802_11.c
index
dc79a91
..
62f4b06
100644
(file)
--- a/
hostapd/ieee802_11.c
+++ b/
hostapd/ieee802_11.c
@@
-1269,8
+1269,7
@@
void ieee802_11_send_sa_query_req(struct hostapd_data *hapd,
os_memcpy(mgmt.u.action.u.sa_query_req.trans_id, trans_id,
WLAN_SA_QUERY_TR_ID_LEN);
end = mgmt.u.action.u.sa_query_req.trans_id + WLAN_SA_QUERY_TR_ID_LEN;
- if (hostapd_send_mgmt_frame(hapd, &mgmt, IEEE80211_HDRLEN +
- end - (u8 *) &mgmt, 0) < 0)
+ if (hostapd_send_mgmt_frame(hapd, &mgmt, end - (u8 *) &mgmt, 0) < 0)
perror("ieee802_11_send_sa_query_req: send");
}