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

Commit b586f853 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "icnss2: Update QMI timeout value dynamically"

parents 69e66a0e 46ccd23c
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -73,7 +73,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;