add lost line
authorMladen Horvat <acid-burn@opendreambox.org>
Sat, 8 Nov 2008 14:50:04 +0000 (14:50 +0000)
committerMladen Horvat <acid-burn@opendreambox.org>
Sat, 8 Nov 2008 14:50:04 +0000 (14:50 +0000)
wirelesslan/src/Wlan.py

index e483151..844d095 100644 (file)
@@ -352,6 +352,7 @@ class wpaSupplicant:
                        fp.write('\tscan_ssid=0\n')                     
                        if encrypted:
                                if encryption == 'WPA' or encryption == 'WPA2' or encryption == 'WPA/WPA2' :
+                                       fp.write('\tkey_mgmt=WPA-PSK\n')
                                        
                                        if encryption == 'WPA':
                                                fp.write('\tproto=WPA\n')