]> git.itanic.dy.fi Git - linux-stable/commit
wifi: rtlwifi: rtl8821ae: Remove unnecessary PME_Status bit set
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 24 Nov 2023 08:47:19 +0000 (10:47 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 1 Dec 2023 12:41:04 +0000 (14:41 +0200)
commit6e071ae899f10d1b8a75639349c226b8e777de26
tree192d813dde730bb80b08c3497018c53b70a65917
parenta4fcac11a25ac3f3336a4324b497a16ae1ae5e53
wifi: rtlwifi: rtl8821ae: Remove unnecessary PME_Status bit set

BIT(7) (PME_Status) is first checked and then set unnecessarily. Remove
the unnecessary setting for the bit that is already on and adjust the
comment related to it.

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-5-ilpo.jarvinen@linux.intel.com
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c