rtw88: use the correct bit in the REG_HCI_OPT_CTRL register
authorKevin Lo <kevlo@kevlo.org>
Fri, 22 Apr 2022 14:50:54 +0000 (22:50 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 27 Apr 2022 04:58:00 +0000 (07:58 +0300)
commitfc6234d7e2e322e84ed3c5c6c05a54f611faa9ab
tree5e93ac2c2bea57d94bbc46aae520ef013f79c429
parent562354ab9f0aa4fcd8f2184506dcb9c18a792182
rtw88: use the correct bit in the REG_HCI_OPT_CTRL register

Write the BIT_USB_SUS_DIS bit rather than BIT_BT_DIG_CLK_EN to the
REG_HCI_OPT_CTRL register for fixing failure to PCIe power on.

Signed-off-by: Kevin Lo <kevlo@kevlo.org>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/YmLAzuyPr0P4Y6BP@ns.kevlo.org
drivers/net/wireless/realtek/rtw88/mac.c