commit | c3ae8ec4a26468f4b1a0b329ca9f57d19be32be8 | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Sat Jun 25 13:37:44 2016 -0500 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Jul 05 17:31:42 2016 +0300 |
tree | 5b73a79be6a40a0b826ed8cf5202df3b309af048 | |
parent | 204e2ab22e1e2d0eb7b4cb929bc4b417226474b8 [diff] |
rtlwifi: rtl8192ee: Fix potential race condition Flag rfchange_inprogress in struct rtl_ps_ctl is protected by a spinlock in most routines but not in rtl92ee_dm_watchdog(), which could lead to a race condition. The necessary locking to prevent this condition is added. Reported-by: Pavel Andrianov <andrianov@ispras.ru> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Pavel Andrianov <andrianov@ispras.ru> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>