diff options
author | Benjamin Poirier <bpoirier@suse.com> | 2019-07-16 17:16:55 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-06 19:06:51 +0200 |
commit | ade866ad5aedc4e319ffa27ae15574e2d9d466d5 (patch) | |
tree | c4dfb64a87fce75494dfe040538585e8e4cb96ac /lib/test_string.c | |
parent | c0cca0e97ce47e62dbfea72bce1cba71aa19e010 (diff) |
be2net: Signal that the device cannot transmit during reconfiguration
[ Upstream commit 7429c6c0d9cb086d8e79f0d2a48ae14851d2115e ]
While changing the number of interrupt channels, be2net stops adapter
operation (including netif_tx_disable()) but it doesn't signal that it
cannot transmit. This may lead dev_watchdog() to falsely trigger during
that time.
Add the missing call to netif_carrier_off(), following the pattern used in
many other drivers. netif_carrier_on() is already taken care of in
be_open().
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/test_string.c')
0 files changed, 0 insertions, 0 deletions