/* Clear keys and decryption status for the specified interface  */
void airpcap_if_clear_decryption_settings(airpcap_if_info_t *info_if)
/* Clear keys and decryption status for the specified interface  */
void airpcap_if_clear_decryption_settings(airpcap_if_info_t *info_if)
{
    if (info_if != NULL)
    {
        if (info_if->keysCollection != NULL)
        {
            g_free(info_if->keysCollection);
            info_if->keysCollection = NULL;
        }
        info_if->keysCollectionSize = 0;
        info_if->DecryptionOn = AIRPCAP_DECRYPTION_OFF;
        info_if->saved = FALSE;
    }
}