]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: LPS enter/leave should be protected by lock
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 2 Oct 2019 02:31:22 +0000 (10:31 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 2 Oct 2019 04:33:44 +0000 (07:33 +0300)
commit567bc98f7a9c6836b7d34fcad52fd091bae06ab0
tree5e921f8d0282b3f587e7cdc304ba5e245deb7cdc
parent84f2251176eedb22f87b97c7526e05b0f2aeab0d
rtw88: LPS enter/leave should be protected by lock

Protect LPS enter/leave routine with rtwdev->mutex.
This helps to synchronize with driver's states correctly.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac80211.c
drivers/net/wireless/realtek/rtw88/main.c
drivers/net/wireless/realtek/rtw88/ps.c