wpa_supplicant: Update to Version 0.8.26 from BRCM
- Add interface command
- Improve scan handling during P2P
BUG: b/6324527, b/6427094
Change-Id: I4425f44d2a15de0725ba4a1b42cc56e10954b314
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 81d00f3..3b184fd 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -3126,9 +3126,9 @@
#ifdef ANDROID_P2P
int wpas_is_p2p_prioritized(struct wpa_supplicant *wpa_s)
{
- if(os_strncmp(wpa_s->global->conc_priority, "p2p", 3) == 0)
+ if (wpa_s->global->conc_pref == WPA_CONC_PREF_P2P)
return 1;
- else if(os_strncmp(wpa_s->global->conc_priority, "sta", 3) == 0)
+ if (wpa_s->global->conc_pref == WPA_CONC_PREF_STA)
return 0;
/* IF conc_priority is not set, return -1 */