summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>2023-06-15 16:58:03 +0900
committerIsaac Chiou <isaacchiou@google.com>2023-06-27 01:46:16 +0000
commit76231e4cbede20fe85ca38f6498ec304c399ac56 (patch)
tree0e06ce09f745074e65ead3773ce3be5ba445e412
parentb4af948b8605c6540da0d930f795e808256d8345 (diff)
downloadbcm4389-76231e4cbede20fe85ca38f6498ec304c399ac56.tar.gz
bcmdhd: Avoid p2p scan abort on reception of partial scan results
Issue: P2P group formation failed with p2p scan not finding the P2P GO in the partial scan results Fix: The current issue occurred due to 1. On partial scan for a directed p2p scan we aborted the scan. 2. Due to aborting of the scan in a environment having high number of p2p devices ("DIRECT-"), there is a possibility of not finding the required P2P GO. In the current fix we avoid aborting this scan and let the scan to complete. Bug: 285034105 Test: Regression test Change-Id: I3e4d5d9cb1c96acb6e397b01feb7776b07d7ebe2 Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.corp-partner.google.com>
-rw-r--r--wl_cfgscan.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/wl_cfgscan.c b/wl_cfgscan.c
index 6b84a00..799e0f1 100644
--- a/wl_cfgscan.c
+++ b/wl_cfgscan.c
@@ -1128,17 +1128,6 @@ wl_escan_handler(struct bcm_cfg80211 *cfg, bcm_struct_cfgdev *cfgdev,
list->version = dtoh32(bi->version);
list->buflen += bi_length;
list->count++;
-
- /*
- * !Broadcast && number of ssid = 1 && number of channels =1
- * means specific scan to association
- */
- if (wl_cfgp2p_is_p2p_specific_scan(cfg->scan_request)) {
- WL_ERR(("P2P assoc scan fast aborted.\n"));
- wl_cfgscan_scan_abort(cfg);
- wl_notify_escan_complete(cfg, cfg->escan_info.ndev, false);
- goto exit;
- }
}
}
else if (status == WLC_E_STATUS_SUCCESS) {