Name

ieee80211_iterate_active_interfaces_atomic — iterate active interfaces

Synopsis

void ieee80211_iterate_active_interfaces_atomic (struct ieee80211_hw * hw,
 void (*iterator) (void *data, u8 *mac, struct ieee80211_vif *vif),
 void * data);
 

Arguments

hw

the hardware struct of which the interfaces should be iterated over

iterator

the iterator function to call, cannot sleep

data

first argument of the iterator function

Description

This function iterates over the interfaces associated with a given 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