aboutsummaryrefslogtreecommitdiffstats
path: root/airpcap_loader.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-05-13 16:14:28 +0000
committerGerald Combs <gerald@wireshark.org>2009-05-13 16:14:28 +0000
commit0a069bc6a3b723a404ded41344cbeb821f0ab1e4 (patch)
tree76f426895a261df1fc2c9e39de2748921e9318ec /airpcap_loader.c
parent95be22667a06272bad442de862bb8c3ab47b34e7 (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. svn path=/trunk/; revision=28350
Diffstat (limited to 'airpcap_loader.c')
-rw-r--r--airpcap_loader.c8
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: