• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

external/wpa_supplicant_6


Commit MetaInfo

Revision06571386a48d80643f46c990449c2a38d01bd13c (tree)
Zeit2011-03-02 08:31:25
AutorDmitry Shmidt <dimitrysh@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge "Set ap_scan to default in case of disassociation"

Ändern Zusammenfassung

Diff

--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -97,6 +97,7 @@ static void wpa_supplicant_stop_countermeasures(void *eloop_ctx,
9797 void wpa_supplicant_mark_disassoc(struct wpa_supplicant *wpa_s)
9898 {
9999 wpa_supplicant_set_state(wpa_s, WPA_DISCONNECTED);
100+ wpa_s->conf->ap_scan = DEFAULT_AP_SCAN;
100101 os_memset(wpa_s->bssid, 0, ETH_ALEN);
101102 os_memset(wpa_s->pending_bssid, 0, ETH_ALEN);
102103 eapol_sm_notify_portEnabled(wpa_s->eapol, FALSE);
@@ -951,7 +952,7 @@ static void wpa_supplicant_event_disassoc(struct wpa_supplicant *wpa_s)
951952 "pre-shared key may be incorrect");
952953 }
953954 if (wpa_s->wpa_state >= WPA_ASSOCIATED)
954- wpa_supplicant_req_scan(wpa_s, 0, 100000);
955+ wpa_supplicant_req_scan(wpa_s, 0, 500000);
955956 bssid = wpa_s->bssid;
956957 if (is_zero_ether_addr(bssid))
957958 bssid = wpa_s->pending_bssid;