external/wpa_supplicant
Révision | 97168b54aa9d793599ec95515296e9149bd920a0 (tree) |
---|---|
l'heure | 2010-03-26 06:22:48 |
Auteur | Dmitry Shmidt <dimitrysh@goog...> |
Commiter | Dmitry Shmidt |
Fix status from ap_scan command
Change-Id: Ib7bf2e9ef6f602ea0f95314cb2db7b3d42276c31
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
@@ -1134,7 +1134,7 @@ static int wpa_supplicant_ctrl_iface_ap_scan( | ||
1134 | 1134 | return -1; |
1135 | 1135 | #ifdef ANDROID |
1136 | 1136 | if ((ap_scan == 2) && (wpa_s->wpa_state != WPA_COMPLETED)) { |
1137 | - return -1; | |
1137 | + return 0; | |
1138 | 1138 | } |
1139 | 1139 | #endif |
1140 | 1140 | wpa_s->conf->ap_scan = ap_scan; |