]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: provide interface iterator for drivers
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 9 Nov 2007 00:57:29 +0000 (01:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:37 +0000 (14:54 -0800)
commitdabeb344f54ab780d152714c18f1cb6b21c471a1
treeb93be2a461b00882491bc8b7d3780476ca71bf7e
parent9859a79023d71dd4e56c195a345abc4112abfd02
mac80211: provide interface iterator for drivers

Sometimes drivers need to know which interfaces are associated with
their hardware. Rather than forcing those drivers to keep track of
the interfaces that were added, this adds an iteration function to
mac80211.

As it is intended to be used from the interface add/remove callbacks,
the iteration function may currently only be called under RTNL.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mac80211.h
net/mac80211/util.c