Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46ccd23c authored by Vijay Patil's avatar Vijay Patil
Browse files

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: default avatarVijay Patil <vijaylil@codeaurora.org>
parent 2a010244
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -72,7 +72,14 @@
#define ICNSS_BDF_TYPE_DEFAULT         ICNSS_BDF_ELF

#define PROBE_TIMEOUT                 15000

#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;