projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b2da7
)
Fix a typo in Disassociation frame building
author
Jouni Malinen
<jouni.malinen@atheros.com>
Sun, 18 Jul 2010 03:23:20 +0000
(20:23 -0700)
committer
Jouni Malinen
<j@w1.fi>
Sun, 18 Jul 2010 03:23:20 +0000
(20:23 -0700)
This did not really change any behavior since Deauthentication frame
uses the same format.
hostapd/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/hostapd/ctrl_iface.c
b/hostapd/ctrl_iface.c
index
fca4189
..
9ef576d
100644
(file)
--- a/
hostapd/ctrl_iface.c
+++ b/
hostapd/ctrl_iface.c
@@
-227,7
+227,7
@@
static int hostapd_ctrl_iface_disassociate(struct hostapd_data *hapd,
os_memcpy(mgmt.da, addr, ETH_ALEN);
os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN);
os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN);
- mgmt.u.d
eauth
.reason_code =
+ mgmt.u.d
isassoc
.reason_code =
host_to_le16(WLAN_REASON_PREV_AUTH_NOT_VALID);
if (hapd->driver->send_frame(hapd->drv_priv, (u8 *) &mgmt,
IEEE80211_HDRLEN +