From 26b166be7204d5381ea88be92000cda98a737094 Mon Sep 17 00:00:00 2001 From: Mohit Ghuley Date: Thu, 11 Apr 2019 17:32:21 +0530 Subject: [PATCH] [NEUS7920-133][9610][7885][7872][7570] wlbt: Addition of blocking scan condition, during Scan List Updation in Driver. During Driver Connect Scan, cfg80211_scan_req is not available. Hence add a blocking scan condition as well, during the Scan List Updation in Driver. Change-Id: I35e002e72857cf5a393bb855266c2bc350418a1f SCSC-Bug-Id: SSB-51608 Signed-off-by: Mohit Ghuley --- drivers/net/wireless/scsc/rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/scsc/rx.c b/drivers/net/wireless/scsc/rx.c index d8bc79c218f6..f8a24d3069dc 100755 --- a/drivers/net/wireless/scsc/rx.c +++ b/drivers/net/wireless/scsc/rx.c @@ -355,7 +355,8 @@ void slsi_rx_scan_ind(struct slsi_dev *sdev, struct net_device *dev, struct sk_b SLSI_NET_DBG1(dev, SLSI_MLME, "Connect/Roaming scan indication received, bssid:%pM\n", fapi_get_mgmt(skb)->bssid); slsi_kfree_skb(ndev_vif->sta.mlme_scan_ind_skb); ndev_vif->sta.mlme_scan_ind_skb = skb; - } else if (ndev_vif->scan[scan_id].scan_req || ndev_vif->scan[scan_id].acs_request) { + } else if (ndev_vif->scan[scan_id].scan_req || ndev_vif->scan[scan_id].acs_request || + ndev_vif->scan[SLSI_SCAN_HW_ID].is_blocking_scan) { slsi_roam_channel_cache_add(sdev, dev, skb); if (SLSI_IS_VIF_INDEX_WLAN(ndev_vif)) slsi_add_to_scan_list(sdev, ndev_vif, skb, scan_ssid, scan_id); -- 2.20.1