]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: don't flush hci queues and send h2c if power is off
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 21 Apr 2022 12:08:57 +0000 (20:08 +0800)
committerKalle Valo <kvalo@kernel.org>
Sun, 24 Apr 2022 11:30:35 +0000 (14:30 +0300)
commitd5e65f6489de19d5663312603d238cc8333bf432
treedbe9348419e6207e05c355a5aee2105b710ab051
parentfb9bbdb8122b6cac2a68191cd780b4934ed01c4d
rtw89: don't flush hci queues and send h2c if power is off

When disconnecting, it warns somethings after power is off, and we can't
do HCI IO. So, add this patch to avoid below messages:

  rtw89_8852ce 0000:03:00.0: timed out to flush pci txch: 11
  rtw89_8852ce 0000:03:00.0: failed to pre-release fwcmd

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220421120903.73715-9-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h