From: Felix Fietkau Date: Tue, 14 Sep 2010 16:37:20 +0000 (+0200) Subject: mac80211: add a note about iterating interfaces during add_interface() X-Git-Tag: v2.6.37-rc1~147^2~265^2^2~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2944f45d9db851e186774df7c9cbf075f4a585c6;p=platform%2Fkernel%2Flinux-exynos.git mac80211: add a note about iterating interfaces during add_interface() Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f91fc33..19a5cb4 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); * This function allows the iterator function to sleep, when the iterator * function is atomic @ieee80211_iterate_active_interfaces_atomic can * be used. + * Does not iterate over a new interface during add_interface() * * @hw: the hardware struct of which the interfaces should be iterated over * @iterator: the iterator function to call @@ -2310,6 +2311,7 @@ void ieee80211_iterate_active_interfaces(struct ieee80211_hw *hw, * hardware that are currently active and calls the callback for them. * This function requires the iterator callback function to be atomic, * if that is not desired, use @ieee80211_iterate_active_interfaces instead. + * Does not iterate over a new interface during add_interface() * * @hw: the hardware struct of which the interfaces should be iterated over * @iterator: the iterator function to call, cannot sleep