/* Set the combo box entry string given a channel frequency  */
void airpcap_channel_combo_set_by_frequency(GtkWidget *cb, guint chan_freq)
/* Set the combo box entry string given a channel frequency  */
void airpcap_channel_combo_set_by_frequency(GtkWidget *cb, guint chan_freq)
{
    guint i;
    for (i = 0; i < airpcap_if_selected->numSupportedChannels; i++) {
        if (airpcap_if_selected->pSupportedChannels[i].Frequency == chan_freq) {
            gtk_combo_box_set_active(GTK_COMBO_BOX(cb), i);
            break;
        }
    }
}