summaryrefslogtreecommitdiff
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-12-12 11:43:24 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-12-13 20:34:05 (GMT)
commit6539306b2c3ceafbc4094cf68c58094c282da053 (patch)
tree5ebe30b3b6aca06fb801abfd4a9abedeae1332f6 /net/mac80211/main.c
parent41affd5286fb91176eb99b34ecd8eb522ba22369 (diff)
downloadlinux-fsl-qoriq-6539306b2c3ceafbc4094cf68c58094c282da053.tar.xz
rtlwifi: merge ips,lps spinlocks into one mutex
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: Philipp Dreimann <philipp@dreimann.net> Tested-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Mike McCormack <mikem@ring3k.org> Cc: Chaoming Li <chaoming_li@realsil.com.cn> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Tested-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions