From: Stanislaw Gruszka Date: Mon, 12 Dec 2011 11:43:24 +0000 (+0100) Subject: rtlwifi: merge ips,lps spinlocks into one mutex X-Git-Tag: v3.3-rc1~182^2~178^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6539306b2c3ceafbc4094cf68c58094c282da053;p=pandora-kernel.git 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 Tested-by: Larry Finger Cc: Mike McCormack Cc: Chaoming Li Signed-off-by: Stanislaw Gruszka Signed-off-by: Larry Finger Tested-by: Tim Gardner Signed-off-by: John W. Linville --- Reading git-diff-tree failed