From 6e7b1a033122d9f6bda98afaf15d55cb2ec63408 Mon Sep 17 00:00:00 2001 From: Yue Ma Date: Mon, 3 Apr 2017 14:17:46 -0700 Subject: [PATCH] qcacld-3.0: Increase driver probe timeout for Napier emulation In Napier emulation, due to the FPGA slowness and the need from firmware side to live debug issues during driver load, increase driver probe timeout accordingly. Change-Id: I7e435082cebabe9ec6d15dc5c11a73b7db84f19b CRs-fixed: 2028294 --- core/hdd/src/wlan_hdd_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 5b121dea260f..ad8aafc7a230 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -10120,7 +10120,11 @@ void hdd_deinit(void) #endif } +#ifdef QCA_WIFI_NAPIER_EMULATION +#define HDD_WLAN_START_WAIT_TIME ((CDS_WMA_TIMEOUT + 5000) * 100) +#else #define HDD_WLAN_START_WAIT_TIME (CDS_WMA_TIMEOUT + 5000) +#endif /** * __hdd_module_init - Module init helper