Diffstat (limited to 'libopie2/opienet/ostation.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opienet/ostation.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie2/opienet/ostation.cpp b/libopie2/opienet/ostation.cpp index c363f0c..8c989d8 100644 --- a/libopie2/opienet/ostation.cpp +++ b/libopie2/opienet/ostation.cpp | |||
@@ -26,38 +26,39 @@ | |||
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | 28 | ||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <opie2/ostation.h> | 31 | #include <opie2/ostation.h> |
32 | #include <opie2/odebug.h> | ||
32 | 33 | ||
33 | /*====================================================================================== | 34 | /*====================================================================================== |
34 | * OStation | 35 | * OStation |
35 | *======================================================================================*/ | 36 | *======================================================================================*/ |
36 | 37 | ||
37 | OStation::OStation() | 38 | OStation::OStation() |
38 | { | 39 | { |
39 | qDebug( "OStation::OStation()" ); | 40 | odebug << "OStation::OStation()" << oendl; |
40 | 41 | ||
41 | type = "<unknown>"; | 42 | type = "<unknown>"; |
42 | macAddress = OMacAddress::unknown; | 43 | macAddress = OMacAddress::unknown; |
43 | ssid = "<unknown>"; | 44 | ssid = "<unknown>"; |
44 | channel = 0; | 45 | channel = 0; |
45 | apAddress = OMacAddress::unknown; | 46 | apAddress = OMacAddress::unknown; |
46 | 47 | ||
47 | } | 48 | } |
48 | 49 | ||
49 | 50 | ||
50 | OStation::~OStation() | 51 | OStation::~OStation() |
51 | { | 52 | { |
52 | qDebug( "OStation::~OStation()" ); | 53 | odebug << "OStation::~OStation()" << oendl; |
53 | } | 54 | } |
54 | 55 | ||
55 | 56 | ||
56 | void OStation::dump() | 57 | void OStation::dump() |
57 | { | 58 | { |
58 | qDebug( "------- OStation::dump() ------------" ); | 59 | odebug << "------- OStation::dump() ------------" << oendl; |
59 | qDebug( "type: %s", (const char*) type ); | 60 | qDebug( "type: %s", (const char*) type ); |
60 | qDebug( "mac: %s", (const char*) macAddress.toString() ); | 61 | qDebug( "mac: %s", (const char*) macAddress.toString() ); |
61 | qDebug( "ap: %s", (const char*) apAddress.toString() ); | 62 | qDebug( "ap: %s", (const char*) apAddress.toString() ); |
62 | qDebug( "ip: %s", (const char*) ipAddress.toString() ); | 63 | qDebug( "ip: %s", (const char*) ipAddress.toString() ); |
63 | } | 64 | } |