]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4vf: Call netif_carrier_off properly in pci_probe
authorArjun Vynipadath <arjun@chelsio.com>
Fri, 1 Mar 2019 10:37:01 +0000 (16:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 07:21:06 +0000 (23:21 -0800)
commit5114dac16dfc0ed32c79c2151831b36184ebdc43
tree806672f83611d79dbd78787a412397d742c953d4
parent2eae482467040357714c0514ece10e23a36bbf3b
cxgb4vf: Call netif_carrier_off properly in pci_probe

netif_carrier_off() should be called only after register_netdev().

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c