Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pywifi/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

class Profile():

def __init__(self):

self.auth = AUTH_ALG_OPEN
self.akm = [AKM_TYPE_NONE]
self.cipher = CIPHER_TYPE_NONE
self.ssid = None
self.bssid = None
self.key = None
def __init__(self, auth=AUTH_ALG_OPEN, akm=[AKM_TYPE_NONE], cipher=CIPHER_TYPE_NONE, ssid=None, bssid=None, key=None):

self.auth = auth
self.akm = akm
self.cipher = cipher
self.ssid = ssid
self.bssid = bssid
self.key = key

def process_akm(self):

Expand Down