net: wwan: iosm: correct link-id handling
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>
Thu, 1 Jul 2021 15:07:45 +0000 (20:37 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:04:41 +0000 (13:04 -0700)
commit5bb4eea0c5f5b9383a543293966bdf20e54988aa
treeb9eba753b5b398fde94287874b55db6dbe0f0c9d
parent3bcfc0a2d3199d0a83d47ed67ad57a1c2f5a16d7
net: wwan: iosm: correct link-id handling

Link ID to be kept intact with MBIM session ID
Ex: ID 0 should be associated to MBIM session ID 0.

Reported-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_imem_ops.c
drivers/net/wwan/iosm/iosm_ipc_imem_ops.h
drivers/net/wwan/iosm/iosm_ipc_mux_codec.c
drivers/net/wwan/iosm/iosm_ipc_wwan.c