diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2021-12-09 15:46:28 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-09 08:10:35 -0800 |
commit | 07d3f2743decaeefcf076457719ae01c8b43b6d2 (patch) | |
tree | f83ca814e224eda3615b523ffba0932c6a94f344 /drivers/net/wwan/iosm/iosm_ipc_imem.h | |
parent | 373f121a3c3a741f90b2a81f120f37c539fa0c86 (diff) |
net: wwan: iosm: fixes net interface nonfunctional after fw flash
Devlink initialization flow was overwriting the IP traffic
channel configuration. This was causing wwan0 network interface
to be unusable after fw flash.
When device boots to fully functional mode restore the IP channel
configuration.
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_imem.h')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_imem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem.h b/drivers/net/wwan/iosm/iosm_ipc_imem.h index 6be6708b4eec..6b479fe23a42 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_imem.h +++ b/drivers/net/wwan/iosm/iosm_ipc_imem.h @@ -101,6 +101,7 @@ struct ipc_chnl_cfg; #define IOSM_CHIP_INFO_SIZE_MAX 100 #define FULLY_FUNCTIONAL 0 +#define IOSM_DEVLINK_INIT 1 /* List of the supported UL/DL pipes. */ enum ipc_mem_pipes { |