]> git.baikalelectronics.ru Git - kernel.git/commit
net: eth: altera: Fix the initial device operstate
authorAtsushi Nemoto <nemoto@toshiba-tops.co.jp>
Tue, 8 Sep 2015 09:15:41 +0000 (18:15 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2015 19:10:15 +0000 (12:10 -0700)
commit54a7f7837789bb5b3d9cbcf65fe05049d1574074
treee8a1477ee8b4905b5a37dd633292659a0a029df9
parent66290fa4665f00a13e0c47eaf0707fbd11b5a466
net: eth: altera: Fix the initial device operstate

Call netif_carrier_off() prior to register_netdev(), otherwise
userspace can see incorrect link state.

Signed-off-by: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/altera/altera_tse_main.c