diff options
author | Lin Yun Sheng <linyunsheng@huawei.com> | 2017-07-12 19:09:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-12 08:22:34 -0700 |
commit | 76b825ab870be3281edac4ae8a414da6e54b0d3a (patch) | |
tree | aa2f3ecb5c98173692ef22e5c1d8d5d5868e460f /drivers/net/usb | |
parent | 2e3d232e139a7128e2494a840a8a00fb9ab65f45 (diff) | |
download | linux-76b825ab870be3281edac4ae8a414da6e54b0d3a.tar.bz2 |
net: hns: Bugfix for Tx timeout handling in hns driver
When hns port type is not debug mode, netif_tx_disable is called
when there is a tx timeout, which requires system reboot to return
to normal state. This patch fix this problem by resetting the net
dev.
Fixes: b5996f11ea54 ("net: add Hisilicon Network Subsystem basic ethernet support")
Signed-off-by: Lin Yun Sheng <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions