blob: bbab9ce53f852fc2532ef4a19e34237290b583a9 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001From c838f621e562f77ef9e659c317951540410a0741 Mon Sep 17 00:00:00 2001
2From: "howard.hsu" <howard-yh.hsu@mediatek.com>
3Date: Wed, 2 Mar 2022 15:43:20 +0800
4Subject: [PATCH 05/18] [patch] HAL: implement wifi_down()
5
6Change-Id: I578a2afd5aa6c9b7fe2ad3c114d62bbfe800ac1c
7---
8 source/wifi/wifi_hal.c | 2 ++
9 1 file changed, 2 insertions(+)
10
11diff --git a/source/wifi/wifi_hal.c b/source/wifi/wifi_hal.c
12index ed26dbff..187de56c 100644
13--- a/source/wifi/wifi_hal.c
14+++ b/source/wifi/wifi_hal.c
15@@ -877,6 +877,8 @@ INT wifi_reset()
16 INT wifi_down()
17 {
18 //TODO: turns off transmit power for the entire Wifi subsystem, for all radios
19+ system("systemctl stop hostapd.service");
20+ sleep(2);
21 return RETURN_OK;
22 }
23
24--
252.29.2
26