summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp7
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
void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr)
{
+ // we need the interface too:
+ const QString iface = "wlan0";
qDebug( "joinNetwork() - %s, %s, %d, %s",
(const char*) type,
@@ -503,5 +505,8 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch
QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" );
- msg << "test" << "test" << "test";
+ msg << iface << QString("Mode") << type;
+ msg << iface << QString("ESSID") << essid;
+ msg << iface << QString("Channel") << channel;
+ msg << iface << QString("MacAddr") << macaddr;
}