cfg80211/mac80211: re-add get_channel operation
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 17:45:08 +0000 (19:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jul 2012 14:16:11 +0000 (16:16 +0200)
commit5b7ccaf3fc7446e42b83a77fd7aa7ad92850acdd
treee87b3f28cdfe513de4f3527fabaaacca63eedc24
parent075e08477d51709ae1998a05c35aadf59ef823b9
cfg80211/mac80211: re-add get_channel operation

This essentially reverts commit 2e165b818456 but
introduces the get_channel operation with a new
wireless_dev argument so that you can retrieve
the channel per interface. This is necessary as
even though we can track all interface channels
(except monitor) we can't track the channel type
used.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c
net/wireless/wext-compat.c