net: wwan: iosm: fixes net interface nonfunctional after fw flash
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Thu, 9 Dec 2021 10:16:28 +0000 (15:46 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 9 Dec 2021 16:10:35 +0000 (08:10 -0800)
commit07d3f2743decaeefcf076457719ae01c8b43b6d2
treef83ca814e224eda3615b523ffba0932c6a94f344
parent373f121a3c3a741f90b2a81f120f37c539fa0c86
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>
drivers/net/wwan/iosm/iosm_ipc_imem.c
drivers/net/wwan/iosm/iosm_ipc_imem.h
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c