From: Felix Fietkau Date: Sat, 23 Feb 2013 17:40:57 +0000 (+0100) Subject: mac80211: fix idle handling in monitor mode X-Git-Tag: v3.9-rc2~24^2~15^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b759f4ddcafb6414056cf3e49f2ab12359101c2e;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed