Changeset bc008ad


Ignore:
Timestamp:
03/17/14 08:05:05 (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.2
Children:
1551192
Parents:
bf6b163
Message:

Adjust the wifiQuickConnect function in libpcbsd to take an additional "WEPHex" bool, set to true by default to maintain compatibility with previous usage. This will allow apps to manually set whether it is actually a plaintext WEP key if necessary.

Location:
src-qt4/libpcbsd/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/libpcbsd/utils/netif.cpp

    r68ecb7a rbc008ad  
    437437} 
    438438 
    439 void NetworkInterface::wifiQuickConnect(QString SSID, QString netKey, QString DeviceName){ 
     439void NetworkInterface::wifiQuickConnect(QString SSID, QString netKey, QString DeviceName, bool WEPHex){ 
    440440  /*  
    441441     This function uses a set of defaults to connect to a wifi access point with a minimum 
     
    537537          //Set WEP Defaults 
    538538          int WEPIndex = 0; 
    539           bool WEPHex = true; //Use Hex WEP key 
     539          //bool WEPHex = true; //Use Hex WEP key 
    540540           
    541541          streamout << " key_mgmt=NONE\n"; 
  • src-qt4/libpcbsd/utils/pcbsd-netif.h

    r1620346 rbc008ad  
    5555   static QString getWifiSecurity(QString SSID,QString deviceName); 
    5656   static QString parseWifiSecurity( QString caps, QString etc ); 
    57    static void wifiQuickConnect(QString SSID, QString netKey, QString DeviceName); 
     57   static void wifiQuickConnect(QString SSID, QString netKey, QString DeviceName, bool WEPHex = true); 
    5858   static QString getFirstWiredDevice(); 
    5959   static QString getWifiParent(QString dev); 
  • src-qt4/libpcbsd/utils/pcbsd-sysFlags.h

    rcab198c rbc008ad  
    1414 
    1515// DEFINE THE FLAG FILES 
    16 #define FLAGDIR QString("/tmp/pcbsdflags") 
     16#define FLAGDIR QString("/tmp/.pcbsdflags") 
    1717#define NETWORKRESTARTED QString("network-restarted") 
    1818#define PKGUPDATEAVAILABLE QString("pkg-update-available") 
Note: See TracChangeset for help on using the changeset viewer.