Skip to content

modify the pywifi/profile #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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