cxgb3: set hard_xmit in the netdev_ops
authorDivy Le Ray <divy@chelsio.com>
Wed, 26 Nov 2008 23:35:26 +0000 (15:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 23:35:26 +0000 (15:35 -0800)
Fix t3_eth_xmit() missing into the netdev_ops structure.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/cxgb3_main.c

index cd9fcaca70f37604960a896ddc2a29f0a721e2f7..96c94a46848d885483b777c34937c906f33527fa 100644 (file)
@@ -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,