acrn-kernel/net/ncsi
Cosmo Chou 6f75cd166a net/ncsi: clear Tx enable mode when handling a Config required AEN
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>
2023-04-28 09:35:33 +01:00
..
Kconfig
Makefile
internal.h
ncsi-aen.c net/ncsi: clear Tx enable mode when handling a Config required AEN 2023-04-28 09:35:33 +01:00
ncsi-cmd.c net/ncsi: Silence runtime memcpy() false positive warning 2022-12-06 17:29:14 -08:00
ncsi-manage.c net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
ncsi-netlink.c genetlink: start to validate reserved header bytes 2022-08-29 12:47:15 +01:00
ncsi-netlink.h
ncsi-pkt.h
ncsi-rsp.c