diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2016-03-14 01:09:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-16 19:24:58 -0400 |
commit | ad846aa52ca7b7ec6b99a8b13c4ce0bbe7b15b7f (patch) | |
tree | 8f1ef6640c1646ce1dde715a8ead707210914b24 /net/core | |
parent | d78a1f08458f8118cf42154e55a3006cc17502bc (diff) | |
download | lwn-ad846aa52ca7b7ec6b99a8b13c4ce0bbe7b15b7f.tar.gz lwn-ad846aa52ca7b7ec6b99a8b13c4ce0bbe7b15b7f.zip |
sh_eth: do not call netif_start_queue() from sh_eth_dev_init()
Iff sh_eth_phy_start() call fails in sh_eth_open(), the netif_start_queue()
call done by sh_eth_dev_init() is not undone. In order to deal with that,
stop calling netif_start_queue() from there, so that it can be called only
when the device is fully opened and sh_eth_dev_init() only deals with the
hardware initialization, symmetrically to sh_eth_dev_exit()...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions