From: Felix Fietkau Date: Wed, 16 Nov 2011 12:34:55 +0000 (+0100) Subject: mac80211: call ieee80211_recalc_idle() after sending packets X-Git-Tag: v3.3-rc1~182^2~261^2~187 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcac4fb00eaefea375db9745464cc182389a1751;p=pandora-kernel.git mac80211: call ieee80211_recalc_idle() after sending packets Some drivers (e.g. ath9k) assume that it's safe to go into low-power mode immediately after the idle state changes. To support that, mac80211 even calls drv_flush() before that happens. In some instances, mac80211 sent a packet right after recalculating the idle state, this patch fixes that. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed