]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: rtw88: add mutex when set SAR
authorChih-Kang Chang <gary.chang@realtek.com>
Tue, 9 Aug 2022 08:41:01 +0000 (16:41 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 10 Aug 2022 05:48:45 +0000 (08:48 +0300)
commitfeffaa5c95a2615aaf5c0c1f10e6a35fa5d1ce64
treecc97fb3f2262bfe429b8ff4076662de1f7b32f88
parent47f49ed5a826ea9f437ce4e7f1352bc06d624d6b
wifi: rtw88: add mutex when set SAR

Applying SAR will access hal data, it should hold rtwdev::mutex
to avoid hal data changed during setting flow.

Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220809084107.38137-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/mac80211.c