diff options
author | 2021-12-09 20:02:28 +0530 | |
---|---|---|
committer | 2021-12-10 20:53:56 -0800 | |
commit | da633aa3163fe1019c9e85333a17b74a5b99f5ac (patch) | |
tree | 1eb55e9c2c657994ac6c7fb41458b40f1ce1f93f /drivers/net/wwan/iosm/iosm_ipc_mmio.c | |
parent | net: wwan: iosm: set tx queue len (diff) | |
download | linux-dev-da633aa3163fe1019c9e85333a17b74a5b99f5ac.tar.xz linux-dev-da633aa3163fe1019c9e85333a17b74a5b99f5ac.zip |
net: wwan: iosm: release data channel in case no active IP session
If there is no active IP session (interface up & running) then
release the data channel.
Use nr_sessions variable to track current active IP sessions.
If the count drops to 0, then send pipe close ctrl message to
release the data channel.
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_mmio.c')
0 files changed, 0 insertions, 0 deletions