wifi: no need to force fresh scan result for fast group join
If force scan is set, scan results are expired at all.
If connecting scan misses the desired group, wpa_supplicant would
consider the desired group is lost and stop group join immediately.
Since fast group join has already found the desired group in scan result,
there is no need to request a fresh one forcibly.
Bug: 147272861
Test: Use CtsVerifier to start GO and client under dirty environment.
Change-Id: Id5cf969f7375d259367458c295a07252744c83ff
diff --git a/wpa_supplicant/hidl/1.3/p2p_iface.cpp b/wpa_supplicant/hidl/1.3/p2p_iface.cpp
index 12459f8..ee53f71 100644
--- a/wpa_supplicant/hidl/1.3/p2p_iface.cpp
+++ b/wpa_supplicant/hidl/1.3/p2p_iface.cpp
@@ -349,7 +349,7 @@
if (wpas_p2p_group_add_persistent(
wpa_s, wpa_network, 0, 0, 0, 0, ht40, vht,
- CHANWIDTH_USE_HT, 0, NULL, 0, 1)) {
+ CHANWIDTH_USE_HT, 0, NULL, 0, 0)) {
ret = -1;
}