OSDN Git Service

rtw88: use rtw_hci_stop() instead of rtwdev->hci.ops->stop()
authorChin-Yen Lee <timlee@realtek.com>
Fri, 20 Dec 2019 09:21:54 +0000 (17:21 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:38:11 +0000 (17:38 +0200)
Fix typo, should use rtw_hci_stop()

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

index 2a60f83..2845d28 100644 (file)
@@ -898,7 +898,7 @@ int rtw_core_start(struct rtw_dev *rtwdev)
 
 static void rtw_power_off(struct rtw_dev *rtwdev)
 {
-       rtwdev->hci.ops->stop(rtwdev);
+       rtw_hci_stop(rtwdev);
        rtw_mac_power_off(rtwdev);
 }