diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2021-12-09 15:46:29 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-09 08:10:35 -0800 |
commit | 383451ceb07831d37dafdf011c09366d1c034df5 (patch) | |
tree | 121b68afca2b4c81a2378dd5cd267bbcf0a67e51 /drivers/net/wwan/iosm/iosm_ipc_imem_ops.c | |
parent | net: wwan: iosm: fixes net interface nonfunctional after fw flash (diff) | |
download | linux-dev-383451ceb07831d37dafdf011c09366d1c034df5.tar.xz linux-dev-383451ceb07831d37dafdf011c09366d1c034df5.zip |
net: wwan: iosm: fixes unable to send AT command during mbim tx
ev_cdev_write_pending flag is preventing a TX message post for
AT port while MBIM transfer is ongoing.
Removed the unnecessary check around control port TX transfer.
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 '')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_imem_ops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c index 09261fbb79c1..831cdae28e8a 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c +++ b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.c @@ -41,7 +41,6 @@ void ipc_imem_sys_wwan_close(struct iosm_imem *ipc_imem, int if_id, static int ipc_imem_tq_cdev_write(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size) { - ipc_imem->ev_cdev_write_pending = false; ipc_imem_ul_send(ipc_imem); return 0; @@ -50,11 +49,6 @@ static int ipc_imem_tq_cdev_write(struct iosm_imem *ipc_imem, int arg, /* Through tasklet to do sio write. */ static int ipc_imem_call_cdev_write(struct iosm_imem *ipc_imem) { - if (ipc_imem->ev_cdev_write_pending) - return -1; - - ipc_imem->ev_cdev_write_pending = true; - return ipc_task_queue_send_task(ipc_imem, ipc_imem_tq_cdev_write, 0, NULL, 0, false); } |