summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/knetworkmanager/files/05-no_blank_psk.patch')
-rw-r--r--kde-misc/knetworkmanager/files/05-no_blank_psk.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/files/05-no_blank_psk.patch b/kde-misc/knetworkmanager/files/05-no_blank_psk.patch
new file mode 100644
index 0000000..baab770
--- /dev/null
+++ b/kde-misc/knetworkmanager/files/05-no_blank_psk.patch
@@ -0,0 +1,18 @@
+diff -up knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-connection_setting_wireless_security.cpp.fix knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-connection_setting_wireless_security.cpp
+--- knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-connection_setting_wireless_security.cpp.fix 2009-03-02 15:28:38.000000000 -0500
++++ knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-connection_setting_wireless_security.cpp 2009-03-02 15:30:01.000000000 -0500
+@@ -290,14 +290,9 @@ WirelessSecurity::toMap() const
+ map.insert(NM_SETTING_WIRELESS_SECURITY_PAIRWISE, QDBusData::fromQValueList(ciphers));
+ }
+
+- if (!_psk.isNull())
+- map.insert(NM_SETTING_WIRELESS_SECURITY_PSK, QDBusData::fromString(""));
+-
+ if (!_leapUsername.isEmpty())
+ map.insert(NM_SETTING_WIRELESS_SECURITY_LEAP_USERNAME, QDBusData::fromString(_leapUsername));
+
+- if (!_leapPassword.isEmpty())
+- map.insert(NM_SETTING_WIRELESS_SECURITY_LEAP_PASSWORD, QDBusData::fromString(""));
+ return map;
+ }
+ \ No newline at end of file