From cfb7335c5b65a79f5817b393e5a8b3345558f220 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 07 Jan 2004 23:04:55 +0000 Subject: A bunch of miscellaneous changes and improvements. read the ChangeLog :) Oh and it's WIP - not everything mentioned there works already. Will soon, though. --- (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 45d7142..25632f3 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -181,13 +181,13 @@ void Wellenreiter::handleManagementFrame( OPacket* p, OWaveLanManagementPacket* } OWaveLanManagementSSID* ssid = static_cast( p->child( "802.11 SSID" ) ); - QString essid = ssid ? ssid->ID() : QString(""); + QString essid = ssid ? ssid->ID( true /* decloak */ ) : QString(""); OWaveLanManagementDS* ds = static_cast( p->child( "802.11 DS" ) ); int channel = ds ? ds->channel() : -1; OWaveLanPacket* header = static_cast( p->child( "802.11" ) ); - GpsLocation loc( -111.111, -111.111 ); + GpsLocation loc( -111, -111 ); if ( configwindow->enableGPS->isChecked() ) { // TODO: add check if GPS is working!? @@ -216,7 +216,7 @@ void Wellenreiter::handleControlFrame( OPacket* p, OWaveLanControlPacket* contro if ( control->controlType() == "Acknowledge" ) { - netView()->addNewItem( "adhoc", "???", header->macAddress1(), false, -1, 0, GpsLocation( -111.111, -111.111 ) ); + netView()->addNewItem( "adhoc", "???", header->macAddress1(), false, -1, 0, GpsLocation( -111, -111 ) ); } else { @@ -260,7 +260,7 @@ void Wellenreiter::handleEthernetData( OPacket* p, OEthernetPacket* data, OMacAd from = data->sourceAddress(); to = data->destinationAddress(); - netView()->addNewItem( "station", "", from, false, -1, 0, GpsLocation( -111.111, -111.111 ) ); + netView()->addNewItem( "station", "", from, false, -1, 0, GpsLocation( -111, -111 ) ); } -- cgit v0.9.0.2