mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
icnss2: Update QMI timeout value dynamically
QMI timeout value is to be sent to the icnss2 module during initialization using module_param. Change-Id: Ibb6038ccdcac5b59b4f72597588312b4b064da0e Signed-off-by: Vijay Patil <vijaylil@codeaurora.org>
This commit is contained in:
parent
2a0102449d
commit
46ccd23c43
1 changed files with 8 additions and 1 deletions
|
|
@ -72,7 +72,14 @@
|
|||
#define ICNSS_BDF_TYPE_DEFAULT ICNSS_BDF_ELF
|
||||
|
||||
#define PROBE_TIMEOUT 15000
|
||||
#define WLFW_TIMEOUT msecs_to_jiffies(3000)
|
||||
|
||||
#ifdef CONFIG_ICNSS2_DEBUG
|
||||
static unsigned long qmi_timeout = 3000;
|
||||
module_param(qmi_timeout, ulong, 0600);
|
||||
#define WLFW_TIMEOUT msecs_to_jiffies(qmi_timeout)
|
||||
#else
|
||||
#define WLFW_TIMEOUT msecs_to_jiffies(3000)
|
||||
#endif
|
||||
|
||||
static struct icnss_priv *penv;
|
||||
static struct work_struct wpss_loader;
|
||||
|
|
|
|||
Loading…
Reference in a new issue