diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-13 16:14:28 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-05-13 16:14:28 +0000 |
commit | 44224f49abca20d587d88064fd3488adeadcfa32 (patch) | |
tree | 76f426895a261df1fc2c9e39de2748921e9318ec /airpcap_loader.c | |
parent | 3ec5fa34892736f674eeddfa83bcf500dfcd3227 (diff) |
Migrate the Airpcap UI code from GtkCombos (deprecated) to GtkComboBoxes.
Consolidate some common code. Rename a bunch of variables. Remove some
unused code.
Fix an offset flag bug in airpcap_loader.c.
This had to be merged by hand with r28349. Hopefully none of those
changes were clobbered.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28350 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r-- | airpcap_loader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c index 765737cac6..b42b8d5dc6 100644 --- a/airpcap_loader.c +++ b/airpcap_loader.c @@ -821,10 +821,10 @@ airpcap_if_get_device_supported_channels_array(PAirpcapHandle ah, guint32 * pNum switch(chanInfo[i].ExtChannel) { case -1: - pSupportedChannels[numSupportedChannels].Flags = FLAG_CAN_BE_HIGH; + pSupportedChannels[numSupportedChannels].Flags = FLAG_CAN_BE_LOW; break; case +1: - pSupportedChannels[numSupportedChannels].Flags = FLAG_CAN_BE_LOW; + pSupportedChannels[numSupportedChannels].Flags = FLAG_CAN_BE_HIGH; break; case 0: default: @@ -850,10 +850,10 @@ airpcap_if_get_device_supported_channels_array(PAirpcapHandle ah, guint32 * pNum switch(chanInfo[i].ExtChannel) { case -1: - pSupportedChannels[supportedChannel].Flags |= FLAG_CAN_BE_HIGH; + pSupportedChannels[supportedChannel].Flags |= FLAG_CAN_BE_LOW; break; case +1: - pSupportedChannels[supportedChannel].Flags |= FLAG_CAN_BE_LOW; + pSupportedChannels[supportedChannel].Flags |= FLAG_CAN_BE_HIGH; break; case 0: default: |