/* This function will set the gibven GList of decryption_key_t structures as the defoult for both Wireshark and the AirPcap adapters...  */
void airpcap_save_decryption_keys(GList *key_list, GList *adapters_list)
/* This function will set the gibven GList of decryption_key_t structures as the defoult for both Wireshark and the AirPcap adapters...  */
void airpcap_save_decryption_keys(GList *key_list, GList *adapters_list)
{
    gint if_n = 0;
    gint i    = 0;
    airpcap_if_info_t* curr_if = NULL;
    GList* empty_key_list = NULL;
    if ( (key_list == NULL) || (adapters_list == NULL)) return;
    if_n = g_list_length(adapters_list);
    write_wlan_driver_wep_keys_to_registry(key_list);
    for(i = 0; i < if_n; i++)
    {
        curr_if = (airpcap_if_info_t*)g_list_nth_data(adapters_list,i);
        write_wlan_wep_keys_to_registry(curr_if,empty_key_list);
    }
    save_wlan_wireshark_wep_keys(key_list);
}