Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133834
b: refs/heads/master
c: a962dc2
h: refs/heads/master
v: v3
  • Loading branch information
Inaky Perez-Gonzalez authored and David S. Miller committed Jan 21, 2009
1 parent 51467cf commit 9367e94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2171dc1815fcc5cc08d227155d65bb268070f6a5
refs/heads/master: a962dc2520d85c278768f5f6028f300152fca7fa
14 changes: 9 additions & 5 deletions trunk/drivers/net/wimax/i2400m/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,14 @@ void i2400m_net_rx(struct i2400m *i2400m, struct sk_buff *skb_rx,
i2400m, buf, buf_len);
}

static const struct net_device_ops i2400m_netdev_ops = {
.ndo_open = i2400m_open,
.ndo_stop = i2400m_stop,
.ndo_start_xmit = i2400m_hard_start_xmit,
.ndo_tx_timeout = i2400m_tx_timeout,
.ndo_change_mtu = i2400m_change_mtu,
};


/**
* i2400m_netdev_setup - Setup setup @net_dev's i2400m private data
Expand All @@ -513,11 +521,7 @@ void i2400m_netdev_setup(struct net_device *net_dev)
& (~IFF_BROADCAST /* i2400m is P2P */
& ~IFF_MULTICAST);
net_dev->watchdog_timeo = I2400M_TX_TIMEOUT;
net_dev->open = i2400m_open;
net_dev->stop = i2400m_stop;
net_dev->hard_start_xmit = i2400m_hard_start_xmit;
net_dev->change_mtu = i2400m_change_mtu;
net_dev->tx_timeout = i2400m_tx_timeout;
net_dev->netdev_ops = &i2400m_netdev_ops;
d_fnend(3, NULL, "(net_dev %p) = void\n", net_dev);
}
EXPORT_SYMBOL_GPL(i2400m_netdev_setup);
Expand Down

0 comments on commit 9367e94

Please sign in to comment.