cfg80211: clarify set_channel APIs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 06:18:22 +0000 (08:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:18:17 +0000 (15:18 -0400)
commite8c9bd5b8d807cfe6c923265969a523b1ba1e6c2
treee36cab1a3b2fb25bdc84115e3472a19672045dbe
parent7c9c46c16d2d1d232f3296924162de293477f017
cfg80211: clarify set_channel APIs

Now that we've removed all uses of the set_channel
API except for the monitor channel and in libertas,
clarify this. Split the libertas mesh use into a
new libertas_set_mesh_channel() operation, just to
keep backward compatibility, and rename the normal
set_channel() to set_monitor_channel().

Also describe the desired set_monitor_channel()
semantics more clearly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
13 files changed:
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/mesh.c
drivers/net/wireless/orinoco/cfg.c
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/chan.c
net/wireless/core.h
net/wireless/mesh.c
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/wext-compat.c
net/wireless/wext-sme.c