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.c | |
parent | 07d3f2743decaeefcf076457719ae01c8b43b6d2 (diff) | |
download | linux-383451ceb07831d37dafdf011c09366d1c034df5.tar.gz linux-383451ceb07831d37dafdf011c09366d1c034df5.tar.bz2 linux-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 'drivers/net/wwan/iosm/iosm_ipc_imem.c')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_imem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem.c b/drivers/net/wwan/iosm/iosm_ipc_imem.c index e2c096863488..12c03dacb5dd 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_imem.c +++ b/drivers/net/wwan/iosm/iosm_ipc_imem.c @@ -1270,7 +1270,6 @@ struct iosm_imem *ipc_imem_init(struct iosm_pcie *pcie, unsigned int device_id, ipc_imem->pci_device_id = device_id; - ipc_imem->ev_cdev_write_pending = false; ipc_imem->cp_version = 0; ipc_imem->device_sleep = IPC_HOST_SLEEP_ENTER_SLEEP; |