summaryrefslogtreecommitdiff
path: root/lib/proportions.c
diff options
context:
space:
mode:
authorRonald Wahl <ronald.wahl@raritan.com>2012-03-19 13:37:20 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-04-09 20:12:30 (GMT)
commit70b12f2612a6b352d16342b5952cf9f9de6c1d56 (patch)
tree29d462f6632cc394e08fd463fca21e61d5791646 /lib/proportions.c
parent12d3952fc4a1cd96234bc7023bf7eefeb0bb6355 (diff)
downloadlinux-70b12f2612a6b352d16342b5952cf9f9de6c1d56.tar.xz
mac80211: when receiving DTIM disable power-save mode only if it was enabled
When receiving DTIM we currently disable power save mode in the hardware unconditionally, i.e. also when the hardware was not sleeping. This causes trouble with at least one wireless chipset (Ralink RT3572). When the hardware is not sleeping and we send a wakeup command (e.g. this happens after a scan) then a significant decrease of the link quality or a disconnect may occur. Disabling power save mode only when it was enabled prevents this issue. Signed-off-by: Ronald Wahl <ronald.wahl@raritan.com> Reviewed-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions