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

Function rt_wlan_complete_delete

components/drivers/wlan/dev_wlan_mgnt.c:649–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649static void rt_wlan_complete_delete(struct rt_wlan_complete_des *complete)
650{
651 if (complete == RT_NULL)
652 {
653 return;
654 }
655 COMPLETE_LOCK();
656 complete_tab[complete->index] = RT_NULL;
657 COMPLETE_UNLOCK();
658 rt_event_detach(&complete->complete);
659 rt_free(complete);
660}
661
662rt_err_t rt_wlan_set_mode(const char *dev_name, rt_wlan_mode_t mode)
663{

Callers 5

rt_wlan_connectFunction · 0.85
rt_wlan_disconnectFunction · 0.85
rt_wlan_start_apFunction · 0.85
rt_wlan_ap_stopFunction · 0.85
rt_wlan_scan_with_infoFunction · 0.85

Calls 2

rt_event_detachFunction · 0.85
rt_freeFunction · 0.85

Tested by

no test coverage detected