Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b86e0280 authored by Johannes Berg's avatar Johannes Berg Committed by David S. Miller
Browse files

[WEXT] net_device: Don't include wext bits if not required.



This patch makes the wext bits in struct net_device depend on
CONFIG_WIRELESS_EXT.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4d44e0df
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -352,12 +352,13 @@ struct net_device
	struct net_device_stats* (*get_stats)(struct net_device *dev);
	struct net_device_stats* (*get_stats)(struct net_device *dev);
	struct net_device_stats	stats;
	struct net_device_stats	stats;


#ifdef CONFIG_WIRELESS_EXT
	/* List of functions to handle Wireless Extensions (instead of ioctl).
	/* List of functions to handle Wireless Extensions (instead of ioctl).
	 * See <net/iw_handler.h> for details. Jean II */
	 * See <net/iw_handler.h> for details. Jean II */
	const struct iw_handler_def *	wireless_handlers;
	const struct iw_handler_def *	wireless_handlers;
	/* Instance data managed by the core of Wireless Extensions. */
	/* Instance data managed by the core of Wireless Extensions. */
	struct iw_public_data *	wireless_data;
	struct iw_public_data *	wireless_data;

#endif
	const struct ethtool_ops *ethtool_ops;
	const struct ethtool_ops *ethtool_ops;


	/*
	/*