nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ unregister_wifi_ready_callback()

int unregister_wifi_ready_callback ( wifi_ready_callback_t cb,
struct net_if * iface )

#include <include/net/wifi_ready.h>

Unregister a callback that was registered to be called when the Wi-Fi is ready.

Parameters
cbCallback function to be unregistered.
iface(optional) Interface to which the callback is registered.
Returns
0 if the callback was successfully unregistered, or a negative error code if the callback could not be unregistered.
Return values
-EINVALif the callback is NULL.
-ENOENTif the callback is not registered.