diff options
author | Benjamin Poirier <bpoirier@suse.com> | 2019-07-16 10:16:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-16 21:41:37 +0200 |
commit | 7429c6c0d9cb086d8e79f0d2a48ae14851d2115e (patch) | |
tree | c13cff6aceb097f9eaf8e029f17fd66cc000c397 /net | |
parent | net: ethernet: mediatek: mtk_eth_soc: Add of_node_put() before goto (diff) | |
download | linux-7429c6c0d9cb086d8e79f0d2a48ae14851d2115e.tar.xz linux-7429c6c0d9cb086d8e79f0d2a48ae14851d2115e.zip |
be2net: Signal that the device cannot transmit during reconfiguration
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions