cfg80211: refuse to .set_monitor_channel when non-monitors are present
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 29 Jun 2012 10:47:03 +0000 (12:47 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2012 11:39:17 +0000 (13:39 +0200)
commit4f03c1ed8901a01ad4abcef95c02c007a2d481c2
tree7b0dbbf9413cb0aa314bf8cdd1c17684261b7659
parent870d37fc22f3e40f9f23e06c581c8538fc16a2f0
cfg80211: refuse to .set_monitor_channel when non-monitors are present

Having .set_monitor_channel work with non-monitor
interfaces running would make interface
combinations accounting ambiguous.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c