]>
Commit | Line | Data |
---|---|---|
295f4a1f JB |
1 | #ifndef __NET_WEXT_H |
2 | #define __NET_WEXT_H | |
3 | ||
4 | /* | |
5 | * wireless extensions interface to the core code | |
6 | */ | |
7 | ||
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 | |
b8b8fd2d | 13 | static inline int wext_proc_init(void) |
295f4a1f JB |
14 | { |
15 | return 0; | |
16 | } | |
17 | static inline int wext_handle_ioctl(struct ifreq *ifr, unsigned int cmd, | |
18 | void __user *arg) | |
19 | { | |
20 | return -EINVAL; | |
21 | } | |
22 | #endif | |
23 | ||
24 | #endif /* __NET_WEXT_H */ |