Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 8a9e55d..448b52b 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -494,4 +494,6 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa | |||
494 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) | 494 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) |
495 | { | 495 | { |
496 | // we need the interface too: | ||
497 | const QString iface = "wlan0"; | ||
496 | qDebug( "joinNetwork() - %s, %s, %d, %s", | 498 | qDebug( "joinNetwork() - %s, %s, %d, %s", |
497 | (const char*) type, | 499 | (const char*) type, |
@@ -503,5 +505,8 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch | |||
503 | 505 | ||
504 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); | 506 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); |
505 | msg << "test" << "test" << "test"; | 507 | msg << iface << QString("Mode") << type; |
508 | msg << iface << QString("ESSID") << essid; | ||
509 | msg << iface << QString("Channel") << channel; | ||
510 | msg << iface << QString("MacAddr") << macaddr; | ||
506 | 511 | ||
507 | } | 512 | } |