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

Function rt_wlan_prot_attach

components/drivers/wlan/dev_wlan_prot.c:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137rt_err_t rt_wlan_prot_attach(const char *dev_name, const char *prot_name)
138{
139 struct rt_wlan_device *wlan;
140
141 wlan = rt_wlan_prot_find_by_name(dev_name);
142 if (wlan == RT_NULL)
143 {
144 return -RT_ERROR;
145 }
146 return rt_wlan_prot_attach_dev(wlan, prot_name);
147}
148
149rt_err_t rt_wlan_prot_detach(const char *name)
150{

Callers 2

wifi_debug_set_protFunction · 0.85
rt_wlan_set_modeFunction · 0.85

Calls 2

rt_wlan_prot_attach_devFunction · 0.85

Tested by

no test coverage detected