]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: power on again if it was already on
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 14 Jun 2019 07:24:12 +0000 (15:24 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:08:59 +0000 (08:08 +0300)
commit00fa6e76417224f7831f9abcf58f820e86d02f29
treeb2298b45b3814f1093c56738ae84667226ad49af
parent03f62070455d89fbe736c663200b9342f3682a68
rtw88: power on again if it was already on

We could fail to power on because it was already on. If the return
value is -EALREADY, power off and then power on again to turn on the
hardware as expected.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac.c