]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: add wiphy_lock() to work that isn't held wiphy_lock() yet
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 22 Jan 2025 06:03:01 +0000 (14:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:17 +0000 (14:40 +0200)
commit8d0c67acdf66e0627f9632049b6f7219eaee9aa1
treedc940585fab297af1d1dcb16612f1e4d9ccdbf70
parentf4c4d18f72d59cebfacc1bc7f16826b7d6812531
wifi: rtw89: add wiphy_lock() to work that isn't held wiphy_lock() yet

[ Upstream commit ebfc9199df05d37b67f4d1b7ee997193f3d2e7c8 ]

To ensure where are protected by driver mutex can also be protected by
wiphy_lock(), so afterward we can remove driver mutex safely.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250122060310.31976-2-pkshih@realtek.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/realtek/rtw89/regd.c
drivers/net/wireless/realtek/rtw89/ser.c