mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrappers for atomic operations
These wrappers were useful when this driver had the hooks for Windows, but are no longer needed. Link: https://lore.kernel.org/r/20210802192721.23110-4-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
e8b235e056
commit
d7c3737cd5
@@ -1114,7 +1114,7 @@ phy_SwChnlAndSetBwMode8192E(
|
||||
#ifdef CONFIG_TDLS
|
||||
#ifdef CONFIG_TDLS_CH_SW
|
||||
/* It takes too much time of setting tx power, influence channel switch */
|
||||
if ((ATOMIC_READ(&Adapter->tdlsinfo.chsw_info.chsw_on) == _FALSE))
|
||||
if ((atomic_read(&Adapter->tdlsinfo.chsw_info.chsw_on) == _FALSE))
|
||||
#endif
|
||||
#endif /* CONFIG_TDLS */
|
||||
PHY_SetTxPowerLevel8192E(Adapter, pHalData->current_channel);
|
||||
|
||||
Reference in New Issue
Block a user