MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_wlan_dev_ap_stop

Function rt_wlan_dev_ap_stop

components/drivers/wlan/dev_wlan.c:207–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207rt_err_t rt_wlan_dev_ap_stop(struct rt_wlan_device *device)
208{
209 rt_err_t result = RT_EOK;
210
211 if (device == RT_NULL)
212 {
213 return -RT_EIO;
214 }
215
216 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_STOP, RT_NULL);
217 return result;
218}
219
220rt_err_t rt_wlan_dev_ap_deauth(struct rt_wlan_device *device, rt_uint8_t mac[6])
221{

Callers 1

rt_wlan_ap_stopFunction · 0.85

Calls 1

rt_device_controlFunction · 0.85

Tested by

no test coverage detected