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