diff options
author | David S. Miller <davem@davemloft.net> | 2009-08-12 20:44:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-12 20:44:53 -0400 |
commit | aa11d958d1a6572eda08214d7c6a735804fe48a5 (patch) | |
tree | d025b05270ad1e010660d17eeadc6ac3c1abbd7d /include/net | |
parent | 07f6642ee9418e962e54cbc07471cfe2e559c568 (diff) | |
parent | 9799218ae36910af50f002a5db1802d576fffb43 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
arch/microblaze/include/asm/socket.h
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/rfcomm.h | 12 | ||||
-rw-r--r-- | include/net/cfg80211.h | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/include/net/bluetooth/rfcomm.h b/include/net/bluetooth/rfcomm.h index 80072611d26a..c274993234e3 100644 --- a/include/net/bluetooth/rfcomm.h +++ b/include/net/bluetooth/rfcomm.h | |||
@@ -355,7 +355,17 @@ struct rfcomm_dev_list_req { | |||
355 | }; | 355 | }; |
356 | 356 | ||
357 | int rfcomm_dev_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); | 357 | int rfcomm_dev_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); |
358 | |||
359 | #ifdef CONFIG_BT_RFCOMM_TTY | ||
358 | int rfcomm_init_ttys(void); | 360 | int rfcomm_init_ttys(void); |
359 | void rfcomm_cleanup_ttys(void); | 361 | void rfcomm_cleanup_ttys(void); |
360 | 362 | #else | |
363 | static inline int rfcomm_init_ttys(void) | ||
364 | { | ||
365 | return 0; | ||
366 | } | ||
367 | static inline void rfcomm_cleanup_ttys(void) | ||
368 | { | ||
369 | } | ||
370 | #endif | ||
361 | #endif /* __RFCOMM_H */ | 371 | #endif /* __RFCOMM_H */ |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index fa729979de88..64df51d9a89f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1076,6 +1076,10 @@ struct cfg80211_ops { | |||
1076 | * channels at a later time. This can be used for devices which do not | 1076 | * channels at a later time. This can be used for devices which do not |
1077 | * have calibration information gauranteed for frequencies or settings | 1077 | * have calibration information gauranteed for frequencies or settings |
1078 | * outside of its regulatory domain. | 1078 | * outside of its regulatory domain. |
1079 | * @disable_beacon_hints: enable this if your driver needs to ensure that | ||
1080 | * passive scan flags and beaconing flags may not be lifted by cfg80211 | ||
1081 | * due to regulatory beacon hints. For more information on beacon | ||
1082 | * hints read the documenation for regulatory_hint_found_beacon() | ||
1079 | * @reg_notifier: the driver's regulatory notification callback | 1083 | * @reg_notifier: the driver's regulatory notification callback |
1080 | * @regd: the driver's regulatory domain, if one was requested via | 1084 | * @regd: the driver's regulatory domain, if one was requested via |
1081 | * the regulatory_hint() API. This can be used by the driver | 1085 | * the regulatory_hint() API. This can be used by the driver |
@@ -1104,6 +1108,7 @@ struct wiphy { | |||
1104 | 1108 | ||
1105 | bool custom_regulatory; | 1109 | bool custom_regulatory; |
1106 | bool strict_regulatory; | 1110 | bool strict_regulatory; |
1111 | bool disable_beacon_hints; | ||
1107 | 1112 | ||
1108 | bool netnsok; | 1113 | bool netnsok; |
1109 | 1114 | ||