• 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

Revision3c1695b113f50b6ea1576fb35a9cd25b469e8fc0 (tree)
Zeit2011-01-19 02:31:46
AutorIrfan Sheriff <isheriff@goog...>
CommiterIrfan Sheriff

Log Message

Add WPS bss match check in Non WPA selection

This change is necessary to pass WPS test case 5.1.7

Bug: 3362571
Change-Id: I97771010aff7fc76180646fb38b618715e324be3

Ändern Zusammenfassung

Diff

--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -552,6 +552,11 @@ wpa_supplicant_select_bss_non_wpa(struct wpa_supplicant *wpa_s,
552552 continue;
553553 }
554554
555+ /* Fix 5.1.7 WPS test case */
556+ if (wpas_wps_ssid_bss_match(wpa_s, ssid, bss) == 0) {
557+ continue;
558+ }
559+
555560 if (!(ssid->key_mgmt & WPA_KEY_MGMT_NONE) &&
556561 !(ssid->key_mgmt & WPA_KEY_MGMT_WPS) &&
557562 !(ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA))