Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 248450 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/wl/sys/wl_linux.c (-7 / +11 lines)
Lines 219-234 Link Here
219
};
219
};
220
#endif 
220
#endif 
221
221
222
static const struct net_device_ops wl_netdev_ops = {
223
	.ndo_open = wl_open,
224
	.ndo_stop = wl_close,
225
	.ndo_start_xmit = wl_start,
226
	.ndo_get_stats = wl_get_stats,
227
	.ndo_set_mac_address = wl_set_mac_address,
228
	.ndo_set_multicast_list = wl_set_multicast_list,
229
	.ndo_do_ioctl = wl_ioctl,
230
};
231
222
static
232
static
223
void wl_if_setup(struct net_device *dev)
233
void wl_if_setup(struct net_device *dev)
224
{
234
{
225
	dev->open = wl_open;
235
	dev->netdev_ops = &wl_netdev_ops;
226
	dev->stop = wl_close;
227
	dev->hard_start_xmit = wl_start;
228
	dev->get_stats = wl_get_stats;
229
	dev->set_mac_address = wl_set_mac_address;
230
	dev->set_multicast_list = wl_set_multicast_list;
231
	dev->do_ioctl = wl_ioctl;
232
#ifdef CONFIG_WIRELESS_EXT
236
#ifdef CONFIG_WIRELESS_EXT
233
#if WIRELESS_EXT < 19
237
#if WIRELESS_EXT < 19
234
	dev->get_wireless_stats = wl_get_wireless_stats;
238
	dev->get_wireless_stats = wl_get_wireless_stats;
(-)a/src/wl/sys/wl_iw.c (-1 / +1 lines)
Lines 118-124 Link Here
118
118
119
	fs = get_fs();
119
	fs = get_fs();
120
	set_fs(get_ds());
120
	set_fs(get_ds());
121
	ret = dev->do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
121
	ret = dev->netdev_ops->ndo_do_ioctl(dev, &ifr, SIOCDEVPRIVATE);
122
	set_fs(fs);
122
	set_fs(fs);
123
123
124
	return ret;
124
	return ret;

Return to bug 248450