1.1.3.6 WDRV_WINC_BSSCtxIsValid

Function

bool WDRV_WINC_BSSCtxIsValid
(
const WDRV_WINC_BSS_CONTEXT *const pBSSCtx,
bool ssidValid
)

Summary

Tests if a BSS context is valid.

Description

Tests the elements of the BSS context to judge if their values are legal.

Precondition

None.

Parameters

pBSSCtx - Pointer to a BSS context.

ssidValid - Flag indicating if the SSID within the context must be valid.

Returns

true or false indicating if context is valid.

Remarks

A valid SSID is one which has a non-zero length. The check is optional as it is legal for the SSID field to be zero length.