-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index e8d9de7..c8d77a7 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -518,6 +518,9 @@ void Wellenreiter::startClicked() | |||
518 | 518 | ||
519 | // TODO: check if interface is wireless and support sniffing for non-wireless interfaces | 519 | // TODO: check if interface is wireless and support sniffing for non-wireless interfaces |
520 | 520 | ||
521 | if ( cardtype != DEVTYPE_FILE ) | ||
522 | { | ||
523 | |||
521 | if ( !net->isPresent( interface ) ) | 524 | if ( !net->isPresent( interface ) ) |
522 | { | 525 | { |
523 | QMessageBox::information( this, "Wellenreiter II", | 526 | QMessageBox::information( this, "Wellenreiter II", |
@@ -529,8 +532,6 @@ void Wellenreiter::startClicked() | |||
529 | assert( iface ); | 532 | assert( iface ); |
530 | 533 | ||
531 | // bring device UP | 534 | // bring device UP |
532 | if ( cardtype != DEVTYPE_FILE ) | ||
533 | { | ||
534 | iface->setUp( true ); | 535 | iface->setUp( true ); |
535 | if ( !iface->isUp() ) | 536 | if ( !iface->isUp() ) |
536 | { | 537 | { |