Vivek Natarajan 7c3f4bbedc mac80211: Fix dynamic power save for scanning.
Not only ps_sdata but also IEEE80211_CONF_PS is to be considered
before restoring PS in scan_ps_disable(). For instance, when ps_sdata
is set but CONF_PS is not set just because the dynamic timer is still
running, a sw scan leads to setting of CONF_PS in scan_ps_disable
instead of restarting the dynamic PS timer.
Also for the above case, a null data frame is to be sent after
returning to operating channel which was not happening with the
current implementation. This patch fixes this too.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-07 16:51:18 -05:00
..
2009-05-25 01:53:53 -07:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-12-03 16:17:44 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-11-25 15:14:13 -08:00
2009-07-12 12:22:34 -07:00