nfsd: tone down inaccurate dprintk
[wrt350n-kernel.git] / include / net / wext.h
blobc02b8decf3af8324b104bfeb5f9593785ec2f321
1 #ifndef __NET_WEXT_H
2 #define __NET_WEXT_H
4 /*
5 * wireless extensions interface to the core code
6 */
8 #ifdef CONFIG_WIRELESS_EXT
9 extern int wext_proc_init(void);
10 extern int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
11 void __user *arg);
12 #else
13 static inline int wext_proc_init(void)
15 return 0;
17 static inline int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd,
18 void __user *arg)
20 return -EINVAL;
22 #endif
24 #endif /* __NET_WEXT_H */