author | mickeyl <mickeyl> | 2003-05-05 14:57:54 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-05 14:57:54 (UTC) |
commit | 12a700f8903eedeba03d3aba7990b9d660410045 (patch) (side-by-side diff) | |
tree | 5d4233900acf47d6cdf88f4272376284fa5410f1 /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 29f5c6e6bcb8db0f0e26da25dbf34b2685c01526 (diff) | |
download | opie-12a700f8903eedeba03d3aba7990b9d660410045.zip opie-12a700f8903eedeba03d3aba7990b9d660410045.tar.gz opie-12a700f8903eedeba03d3aba7990b9d660410045.tar.bz2 |
prepare for major configuration overwhoul
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 9e1010b..705aab6 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -332,10 +332,12 @@ void Wellenreiter::startClicked() // set monitor mode + bool usePrism = configwindow->usePrismHeader(); + switch ( cardtype ) { - case DEVTYPE_CISCO: iface->setMonitoring( new OCiscoMonitoringInterface( iface ) ); break; - case DEVTYPE_WLAN_NG: iface->setMonitoring( new OWlanNGMonitoringInterface( iface ) ); break; - case DEVTYPE_HOSTAP: iface->setMonitoring( new OHostAPMonitoringInterface( iface ) ); break; - case DEVTYPE_ORINOCO: iface->setMonitoring( new OOrinocoMonitoringInterface( iface ) ); break; + case DEVTYPE_CISCO: iface->setMonitoring( new OCiscoMonitoringInterface( iface, usePrism ) ); break; + case DEVTYPE_WLAN_NG: iface->setMonitoring( new OWlanNGMonitoringInterface( iface, usePrism ) ); break; + case DEVTYPE_HOSTAP: iface->setMonitoring( new OHostAPMonitoringInterface( iface, usePrism ) ); break; + case DEVTYPE_ORINOCO: iface->setMonitoring( new OOrinocoMonitoringInterface( iface, usePrism ) ); break; case DEVTYPE_MANUAL: QMessageBox::information( this, "Wellenreiter II", tr( "Bring your device into\nmonitor mode now." ) ); break; case DEVTYPE_FILE: qDebug( "Wellenreiter: Capturing from file '%s'", (const char*) interface ); break; |