diff options
author | Cosmo Chou <chou.cosmo@gmail.com> | 2023-04-26 16:13:50 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-28 09:35:33 +0100 |
commit | 6f75cd166a5a3c0bc50441faa8b8304f60522fdd (patch) | |
tree | 749c2e3c148436cef7c41894528eb414f09c143c /net/sched | |
parent | 075cafffce2429dfa0085c98162657e88d11aa1d (diff) | |
download | linux-stable-6f75cd166a5a3c0bc50441faa8b8304f60522fdd.tar.gz linux-stable-6f75cd166a5a3c0bc50441faa8b8304f60522fdd.tar.bz2 linux-stable-6f75cd166a5a3c0bc50441faa8b8304f60522fdd.zip |
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: 8d951a75d022 ("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>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions