mac80211: add channel context iterator
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Sep 2012 15:57:42 +0000 (17:57 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Oct 2012 09:02:10 +0000 (11:02 +0200)
commit3448c0058327356049f140116fc6632bbfd0c122
treed7cd9c0889c79a978a8c7bfd76dc9eefaa5f87a8
parent04ecd2578e712c301fa1369d2a8f298a2b4b146a
mac80211: add channel context iterator

Drivers may need to iterate the active channel
contexts, export an iterator function to allow
that. To make it possible, use RCU-safe list
functions.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/chan.c