[PC-BSD Commits] r371 - pcbsd/trunk/wificonfig

svn at pcbsd.org svn at pcbsd.org
Thu Jun 21 14:11:23 PDT 2007


Author: kris
Date: 2007-06-21 22:11:23 +0100 (Thu, 21 Jun 2007)
New Revision: 371

Modified:
   pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
Log:
Just a small fix to ensure we write the correct WEP transmit key number, insteadof defaulting to "1"




Modified: pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h
===================================================================
--- pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-06-21 21:01:16 UTC (rev 370)
+++ pcbsd/trunk/wificonfig/wificonfigwidgetbase.ui.h	2007-06-21 21:11:23 UTC (rev 371)
@@ -88,7 +88,7 @@
 	    
     // If we are using WEP security, write the ifconfig line
       QString confLine = "ifconfig_" + DeviceName + "=\"";
-      confLine += "authmode shared wepmode on weptxkey 1";
+      confLine += "authmode shared wepmode on weptxkey " + tmp.setNum(WEPIndex);
       confLine += " wepkey " + WEPKey;
       confLine += " " + ifConfigLine + "\"";
      saveValue( "/etc/rc.conf", "ifconfig_" + DeviceName, confLine, -1);



More information about the Commits mailing list