Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_wpa_supplicant_8
Commits
dee117d0
Commit
dee117d0
authored
12 years ago
by
Dmitry Shmidt
Committed by
Android (Google) Code Review
12 years ago
Browse files
Options
Download
Plain Diff
Merge "SME: Fix disconnec-while-authenticating" into jb-mr1-dev
parents
37f5fa5a
f8a26a8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wpa_supplicant/events.c
wpa_supplicant/events.c
+5
-1
No files found.
wpa_supplicant/events.c
View file @
dee117d0
...
...
@@ -1842,6 +1842,7 @@ static void wpa_supplicant_event_disassoc_finish(struct wpa_supplicant *wpa_s,
u8
prev_pending_bssid
[
ETH_ALEN
];
struct
wpa_bss
*
fast_reconnect
=
NULL
;
struct
wpa_ssid
*
fast_reconnect_ssid
=
NULL
;
struct
wpa_ssid
*
last_ssid
;
authenticating
=
wpa_s
->
wpa_state
==
WPA_AUTHENTICATING
;
os_memcpy
(
prev_pending_bssid
,
wpa_s
->
pending_bssid
,
ETH_ALEN
);
...
...
@@ -1914,10 +1915,13 @@ static void wpa_supplicant_event_disassoc_finish(struct wpa_supplicant *wpa_s,
wpa_s
->
keys_cleared
=
0
;
wpa_clear_keys
(
wpa_s
,
wpa_s
->
bssid
);
}
last_ssid
=
wpa_s
->
current_ssid
;
wpa_supplicant_mark_disassoc
(
wpa_s
);
if
(
authenticating
&&
(
wpa_s
->
drv_flags
&
WPA_DRIVER_FLAGS_SME
))
if
(
authenticating
&&
(
wpa_s
->
drv_flags
&
WPA_DRIVER_FLAGS_SME
))
{
sme_disassoc_while_authenticating
(
wpa_s
,
prev_pending_bssid
);
wpa_s
->
current_ssid
=
last_ssid
;
}
if
(
fast_reconnect
)
{
#ifndef CONFIG_NO_SCAN_PROCESSING
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment