diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-09-14 12:37:20 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-14 16:14:26 -0400 |
commit | 2944f45d9db851e186774df7c9cbf075f4a585c6 (patch) | |
tree | 165e9c5121451bc646cf35aa2431b354cc51ebe3 /include/net/mac80211.h | |
parent | 31a01645c0c7b46d7f74777cd2a66ddb2a22bbd9 (diff) |
mac80211: add a note about iterating interfaces during add_interface()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f91fc331369b..19a5cb4a6582 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -2293,6 +2293,7 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted); | |||
2293 | * This function allows the iterator function to sleep, when the iterator | 2293 | * This function allows the iterator function to sleep, when the iterator |
2294 | * function is atomic @ieee80211_iterate_active_interfaces_atomic can | 2294 | * function is atomic @ieee80211_iterate_active_interfaces_atomic can |
2295 | * be used. | 2295 | * be used. |
2296 | * Does not iterate over a new interface during add_interface() | ||
2296 | * | 2297 | * |
2297 | * @hw: the hardware struct of which the interfaces should be iterated over | 2298 | * @hw: the hardware struct of which the interfaces should be iterated over |
2298 | * @iterator: the iterator function to call | 2299 | * @iterator: the iterator function to call |
@@ -2310,6 +2311,7 @@ void ieee80211_iterate_active_interfaces(struct ieee80211_hw *hw, | |||
2310 | * hardware that are currently active and calls the callback for them. | 2311 | * hardware that are currently active and calls the callback for them. |
2311 | * This function requires the iterator callback function to be atomic, | 2312 | * This function requires the iterator callback function to be atomic, |
2312 | * if that is not desired, use @ieee80211_iterate_active_interfaces instead. | 2313 | * if that is not desired, use @ieee80211_iterate_active_interfaces instead. |
2314 | * Does not iterate over a new interface during add_interface() | ||
2313 | * | 2315 | * |
2314 | * @hw: the hardware struct of which the interfaces should be iterated over | 2316 | * @hw: the hardware struct of which the interfaces should be iterated over |
2315 | * @iterator: the iterator function to call, cannot sleep | 2317 | * @iterator: the iterator function to call, cannot sleep |