commit | fcac4fb00eaefea375db9745464cc182389a1751 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Nov 16 13:34:55 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Nov 17 15:45:15 2011 -0500 |
tree | d1273395ac9e5798c6b79b870a72e560ee215a59 | |
parent | 1f80c230a7d291a10045a3cdc2efd18a4185674d [diff] |
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 <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>