wireless: add wiphy channel freq to channel struct lookup helper
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 16 Mar 2008 17:34:33 +0000 (18:34 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:55 +0000 (16:41 -0400)
commit906c730a2db950b7bce4ef17d65399acd791c360
tree75df7353a1407fdcdca45e6f289ab0f25b2361af
parent857485c0c46ceee5c658c1761bba4d9a5ddf433f
wireless: add wiphy channel freq to channel struct lookup helper

Add ieee80211_get_channel() which gets you a channel struct for a
specific wiphy if that channel is present in that wiphy.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/wireless.h
net/wireless/util.c