projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3680a5d
)
SME: Do not process disassoc frame unless SME is used
author
Jouni Malinen
<j@w1.fi>
Fri, 4 Dec 2009 19:44:13 +0000
(21:44 +0200)
committer
Jouni Malinen
<j@w1.fi>
Fri, 4 Dec 2009 19:44:13 +0000
(21:44 +0200)
This avoids an infinite loop with driver_test.c when using IBSS.
wpa_supplicant/events.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/events.c
b/wpa_supplicant/events.c
index
9f6097e
..
429eac8
100644
(file)
--- a/
wpa_supplicant/events.c
+++ b/
wpa_supplicant/events.c
@@
-1384,7
+1384,8
@@
void wpa_supplicant_event(void *ctx, wpa_event_type event,
wpa_supplicant_event_assoc(wpa_s, data);
break;
case EVENT_DISASSOC:
- sme_event_disassoc(wpa_s, data);
+ if (wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)
+ sme_event_disassoc(wpa_s, data);
/* fall through */
case EVENT_DEAUTH:
wpa_supplicant_event_disassoc(wpa_s);