cfg80211: track monitor channel

Make it even more obvious we support single
monitor channel. This will allow us to remove
.get_channel.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Michal Kazior
2012-06-29 12:47:04 +02:00
committed by Johannes Berg
parent 4f03c1ed89
commit b78e8ceac2
3 changed files with 18 additions and 2 deletions

View File

@@ -59,6 +59,9 @@ struct cfg80211_registered_device {
int num_running_ifaces;
int num_running_monitor_ifaces;
struct ieee80211_channel *monitor_channel;
enum nl80211_channel_type monitor_channel_type;
/* BSSes/scanning */
spinlock_t bss_lock;
struct list_head bss_list;