commit | 204e2ab22e1e2d0eb7b4cb929bc4b417226474b8 | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Sat Jun 25 13:37:43 2016 -0500 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Jul 05 17:31:41 2016 +0300 |
tree | c02b6f78266b60c689b155257698759c4b0666b3 | |
parent | 30462b514fb335a03ce8de89e37191bfd7ce8887 [diff] |
rtlwifi: rtl8188ee: Fix potential race condition Flag rfchange_inprogress in struct rtl_ps_ctl is protected by a spinlock in most routines but not in rtl88e_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>