From: Divy Le Ray Date: Wed, 26 Nov 2008 23:35:26 +0000 (-0800) Subject: cxgb3: set hard_xmit in the netdev_ops X-Git-Tag: firefly_0821_release~16481^2~382 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=43a944f37364e22fff4cbc1e12d227b196e47612;p=firefly-linux-kernel-4.4.55.git cxgb3: set hard_xmit in the netdev_ops Fix t3_eth_xmit() missing into the netdev_ops structure. Signed-off-by: Divy Le Ray Signed-off-by: David S. Miller --- diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index cd9fcaca70f3..96c94a46848d 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c @@ -2831,6 +2831,7 @@ static void __devinit print_port_info(struct adapter *adap, static const struct net_device_ops cxgb_netdev_ops = { .ndo_open = cxgb_open, .ndo_stop = cxgb_close, + .ndo_start_xmit = t3_eth_xmit, .ndo_get_stats = cxgb_get_stats, .ndo_validate_addr = eth_validate_addr, .ndo_set_multicast_list = cxgb_set_rxmode,