Skip to content
Snippets Groups Projects
user avatar
Stanislaw Gruszka authored
With previous patch "rtlwifi: use work for lps" we can now use mutex for
protecting ps mode changing critical sections. This fixes running system
with interrupts disabled for long time.

Merge ips_lock and lps_lock as they seems to protect the same data
structures (accessed in rtl_ps_set_rf_state() function).

Reported-by: default avatarPhilipp Dreimann <philipp@dreimann.net>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Mike McCormack <mikem@ring3k.org>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Tested-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
6539306b
History
Name Last commit Last update