Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.cpp | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp index 4294b12..d36a702 100644 --- a/noncore/settings/networksettings/wlan/wlanimp2.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp @@ -56,3 +56,3 @@ WLANImp::WLANImp( QWidget* parent, const char* name, Interface *i, bool modal, W if (file.exists()) { - owarn << QString("WLANImp: Unable to open /etc/network/if-pre-up.d/wireless-tools") << oendl; + owarn << QString("WLANImp: Unable to open /etc/network/if-pre-up.d/wireless-tools") << oendl; } @@ -237,3 +237,3 @@ void WLANImp::writeOpts() { - odebug << "setting wlan interface " << interfaces->getInterfaceName( error ).latin1() << "" << oendl; + odebug << "setting wlan interface " << interfaces->getInterfaceName( error ).latin1() << "" << oendl; @@ -311,3 +311,3 @@ void WLANImp::rescanNeighbourhood() QString name = interface->getInterfaceName(); - odebug << "rescanNeighbourhood via '" << name << "'" << oendl; + odebug << "rescanNeighbourhood via '" << name << "'" << oendl; @@ -334,3 +334,3 @@ void WLANImp::rescanNeighbourhood() { - owarn << "rescanNeighbourhood(): couldn't guess device type :(" << oendl; + owarn << "rescanNeighbourhood(): couldn't guess device type :(" << oendl; return; @@ -339,3 +339,3 @@ void WLANImp::rescanNeighbourhood() { - odebug << "rescanNeighbourhood(): device type seems to be '" << devicetype << "'" << oendl; + odebug << "rescanNeighbourhood(): device type seems to be '" << devicetype << "'" << oendl; } @@ -353,3 +353,3 @@ void WLANImp::rescanNeighbourhood() { - odebug << "rescanNeighbourhood(): unsupported device type for monitoring :(" << oendl; + odebug << "rescanNeighbourhood(): unsupported device type for monitoring :(" << oendl; return; @@ -360,3 +360,3 @@ void WLANImp::rescanNeighbourhood() { - owarn << "rescanNeighbourhood(): Unable to bring device into monitor mode (" << strerror( errno ) << ")." << oendl; + owarn << "rescanNeighbourhood(): Unable to bring device into monitor mode (" << strerror( errno ) << ")." << oendl; return; @@ -369,3 +369,3 @@ void WLANImp::rescanNeighbourhood() { - owarn << "rescanNeighbourhood(): Unable to open libpcap (" << strerror( errno ) << ")." << oendl; + owarn << "rescanNeighbourhood(): Unable to open libpcap (" << strerror( errno ) << ")." << oendl; return; @@ -402,3 +402,3 @@ void WLANImp::rescanNeighbourhood() qApp->processEvents(); - odebug << "rescanNeighbourhood(): listening on channel " << i << "..." << oendl; + odebug << "rescanNeighbourhood(): listening on channel " << i << "..." << oendl; OPacket* p = cap->next( 1000 ); @@ -406,3 +406,3 @@ void WLANImp::rescanNeighbourhood() { - odebug << "rescanNeighbourhood(): nothing received on channel " << i << "" << oendl; + odebug << "rescanNeighbourhood(): nothing received on channel " << i << "" << oendl; } @@ -410,3 +410,3 @@ void WLANImp::rescanNeighbourhood() { - odebug << "rescanNeighbourhood(): TADAA - something came in on channel " << i << "" << oendl; + odebug << "rescanNeighbourhood(): TADAA - something came in on channel " << i << "" << oendl; handlePacket( p ); @@ -443,3 +443,3 @@ void WLANImp::handlePacket( OPacket* p ) { - owarn << "handlePacket(): invalid frame [possibly noise] detected!" << oendl; + owarn << "handlePacket(): invalid frame [possibly noise] detected!" << oendl; return; @@ -460,5 +460,4 @@ void WLANImp::displayFoundNetwork( const QString& mode, int channel, const QStri - qDebug( "found network: <%s>, chn %d, ssid '%s', mac '%s'", (const char*) mode, channel, - (const char*) ssid, - (const char*) mac.toString() ); + odebug << "found network: <" << (const char*) mode << ">, chn " << channel + << ", ssid '" << (const char*) ssid << "', mac '" << (const char*) mac.toString() << "'" << oendl; |