[pkg-kde-commits] rev 2885 - kde-extras/wlassistant/trunk/debian/patches

Stan Vasilyev stanv-guest at costa.debian.org
Sat Jan 14 23:38:06 UTC 2006


Author: stanv-guest
Date: 2006-01-14 23:37:59 +0000 (Sat, 14 Jan 2006)
New Revision: 2885

Added:
   kde-extras/wlassistant/trunk/debian/patches/20_fix_connection_failed.patch
Log:
fixes sourceforge bug# 1366531 - connection failed when switching access point

Added: kde-extras/wlassistant/trunk/debian/patches/20_fix_connection_failed.patch
===================================================================
--- kde-extras/wlassistant/trunk/debian/patches/20_fix_connection_failed.patch	2006-01-14 23:34:44 UTC (rev 2884)
+++ kde-extras/wlassistant/trunk/debian/patches/20_fix_connection_failed.patch	2006-01-14 23:37:59 UTC (rev 2885)
@@ -0,0 +1,17 @@
+diff -Nur wlassistant-0.5.4a/src/netparams.h wlassistant-0.5.4a.new/src/netparams.h
+--- wlassistant-0.5.4a/src/netparams.h	2006-01-14 14:52:03.773294000 -0800
++++ wlassistant-0.5.4a.new/src/netparams.h	2006-01-14 14:55:57.417774832 -0800
+@@ -183,11 +183,12 @@
+                         mCmd << iwconfig << np.iface << "essid" << "off" << "mode" << "managed" << "key" << "off" << "ap" << "off";
+ 
+                 else if (action=="iwconfig_set") {
+-                        mCmd << iwconfig << np.iface << "essid" << np.essid << "mode" << "managed" << "channel" << np.channel << "key";
++                        mCmd << iwconfig << np.iface << "key";
+                         if (np.wep)
+                                 mCmd << np.wepMode << np.wepKey;
+                         else
+                                 mCmd << "off";
++                        mCmd << "essid" << np.essid << "mode" << "managed" << "channel" << np.channel;
+ 
+                 } else if (action=="iwconfig_ap") {
+                         mCmd << iwconfig << np.iface << "ap" << np.ap;




More information about the pkg-kde-commits mailing list