android_kernel_motorola_sm6375/net/ncsi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cosmo Chou 8acd3a2887 net/ncsi: clear Tx enable mode when handling a Config required AEN
[ Upstream commit 6f75cd166a5a3c0bc50441faa8b8304f60522fdd ]

ncsi_channel_is_tx() determines whether a given channel should be
used for Tx or not. However, when reconfiguring the channel by
handling a Configuration Required AEN, there is a misjudgment that
the channel Tx has already been enabled, which results in the Enable
Channel Network Tx command not being sent.

Clear the channel Tx enable flag before reconfiguring the channel to
avoid the misjudgment.

Fixes: 8d951a75d0 ("net/ncsi: Configure multi-package, multi-channel modes with failover")
Signed-off-by: Cosmo Chou <chou.cosmo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:35:58 +02:00
..
internal.h
Kconfig
Makefile
ncsi-aen.c net/ncsi: clear Tx enable mode when handling a Config required AEN 2023-05-17 11:35:58 +02:00
ncsi-cmd.c
ncsi-manage.c
ncsi-netlink.c net/ncsi: check for error return from call to nla_put_u32 2022-01-05 12:37:45 +01:00
ncsi-netlink.h
ncsi-pkt.h
ncsi-rsp.c