qwf_wifi_DisableWlanInterface()

Disable the WLAN interface

Synopsis:

#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_DisableWlanInterface(qwf_Context_t *pCtx);

Arguments:

pCtx
A pointer to the QWF service context created by qwf_Init()

Library:

qwf_interface

Description:

This function disables the WLAN interface so that the Wi-Fi Manager service doesn't allow connections to available Wi-Fi access points. While this interface is disabled, the service doesn't attempt connections to enabled Saved Networks.

Calling this function causes the current connection to an access point to be disconnected.

Returns:

WIFI_OK Successful result

WIFI_ERR_PARAM pCtx is NULL or the QWF Wi-Fi Manager context can't be retrieved

WIFI_ERR_INT The QWF Wi-Fi Manager service couldn't issue the request