]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/netdevice.h
[WEXT] net_device: Don't include wext bits if not required.
[net-next-2.6.git] / include / linux / netdevice.h
index 584c199ec2d57edd999a4f726e9791f73a8d900b..e027a3750a7737dfa50937c9adf911863298ddfd 100644 (file)
@@ -352,12 +352,13 @@ struct net_device
        struct net_device_stats* (*get_stats)(struct net_device *dev);
        struct net_device_stats stats;
 
+#ifdef CONFIG_WIRELESS_EXT
        /* List of functions to handle Wireless Extensions (instead of ioctl).
         * See <net/iw_handler.h> for details. Jean II */
        const struct iw_handler_def *   wireless_handlers;
        /* Instance data managed by the core of Wireless Extensions. */
        struct iw_public_data * wireless_data;
-
+#endif
        const struct ethtool_ops *ethtool_ops;
 
        /*