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

void print_reject_reason ( u16  reason )

Prints station reject reason.

Parameters:
reasonreason code
Returns:
N/A

Definition at line 449 of file uapevent.c.

References IEEEtypes_REASON_INVALID_IE, and IEEEtypes_REASON_MIC_FAILURE.

Referenced by print_event_debug().

{
    switch (reason) {
    case IEEEtypes_REASON_INVALID_IE:
        printf("Reject reason: Invalid IE\n");
        break;
    case IEEEtypes_REASON_MIC_FAILURE:
        printf("Reject reason: Mic Failure\n");
        break;
    default:
        printf("Reject reason: %d\n", reason);
        break;
    }
    return;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index