Logo Search packages:      
Sourcecode: uaputl version File versions  Download package

void print_wep_key ( TLVBUF_WEP_KEY *  tlv )

Show wep tlv.

Parameters:
tlvPoniter to wep tlv

$return N/A

Definition at line 1705 of file uaputl.c.

Referenced by print_tlv().

{
    int i;
    if (tlv->Length <= 2) {
        printf("wrong wep_key tlv: length=%d\n", tlv->Length);
        return;
    }
    printf("WEP KEY_%d = ", tlv->KeyIndex);
    for (i = 0; i < tlv->Length - 2; i++)
        printf("%02x ", tlv->Key[i]);
    if (tlv->IsDefault)
        printf("\nDefault WEP Key = %d\n", tlv->KeyIndex);
    else
        printf("\n");
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index