diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-02-23 18:40:57 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-26 21:53:01 +0100 |
commit | b759f4ddcafb6414056cf3e49f2ab12359101c2e (patch) | |
tree | 79dcf58cb041956eafe8ca8a07321e48581e1ec5 /net/mac80211/cfg.c | |
parent | mac80211: Ensure off-channel frames don't get queued (diff) | |
download | linux-b759f4ddcafb6414056cf3e49f2ab12359101c2e.tar.xz linux-b759f4ddcafb6414056cf3e49f2ab12359101c2e.zip |
mac80211: fix idle handling in monitor mode
When the driver does not want a monitor mode VIF, no channel context is
allocated for it. This causes ieee80211_recalc_idle to put the hardware
into idle mode if only a monitor mode is active, breaking injection.
Fix this by checking local->monitors in addition to active channel
contexts.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions