From 71a1a3b3eb5e046eb7986adacc24059e976a9aa9 Mon Sep 17 00:00:00 2001 From: hqu Date: Tue, 23 Jan 2018 15:38:13 +0800 Subject: [PATCH] qcacld-3.0: Extend delay for acs_pending_work from 500ms to 1500ms When start sap+sap with acs on 5g band concurrently, the first sap usually choose dfs channel, the second sap will be failed to start. Root cause is when start the second sap, bss hasn't been started for the first sap. Extend delay for acs_pending_work from 500ms to 1500ms, the first sap bss will be started when start pending acs. CRs-Fixed: 2175463 Change-Id: I723d18d72728a1f7a7cd7591395c12d950c535e9 --- core/hdd/src/wlan_hdd_cfg80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 96652663a7e1..7e98122e7849 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -2962,9 +2962,9 @@ void wlan_hdd_cfg80211_acs_ch_select_evt(struct hdd_adapter *adapter) test_bit(ACS_PENDING, &con_sap_adapter->event_flags)) { INIT_DELAYED_WORK(&con_sap_adapter->acs_pending_work, wlan_hdd_cfg80211_start_pending_acs); - /* Lets give 500ms for OBSS + START_BSS to complete */ + /* Lets give 1500ms for OBSS + START_BSS to complete */ schedule_delayed_work(&con_sap_adapter->acs_pending_work, - msecs_to_jiffies(500)); + msecs_to_jiffies(1500)); } }