linux/drivers/net/wireless/realtek
Ilpo Järvinen 5d4a90b43e wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
commit 5894d0089c upstream.

The rtlwifi driver comes with custom code to write into PCIe Link
Control register. RMW access for the Link Control register requires
locking that is already provided by the standard PCIe capability
accessors.

Convert the custom RMW code writing into LNKCTL register to standard
RMW capability accessors. The accesses are changed to cover the full
LNKCTL register instead of touching just a single byte of the register.

Fixes: 0c8173385e ("rtl8192ce: Add new driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124084725.12738-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2024-01-25 15:45:15 -08:00
..
rtl8xxxu wifi: rtl8xxxu: Add a description about the device ID 0x7392:0xb722 2023-09-18 17:31:11 +03:00
rtl818x wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
rtlwifi wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors 2024-01-25 15:45:15 -08:00
rtw88 wifi: rtw88: sdio: Honor the host max_req_size in the RX path 2024-01-25 15:44:46 -08:00
rtw89 wireless-next patches for v6.7 2023-10-26 20:27:58 -07:00
Kconfig rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00
Makefile rtw89: add Realtek 802.11ax driver 2021-10-13 09:01:12 +03:00