mirror of
https://github.com/gryf/wicd.git
synced 2026-01-05 21:34:16 +01:00
Adding available auth methods
This commit is contained in:
@@ -645,6 +645,16 @@ class Wireless(Controller):
|
||||
"""
|
||||
return self.wiface.GetOperationalMode(iwconfig)
|
||||
|
||||
def GetAvailableAuthMethods(self, iwlistauth):
|
||||
""" Get the available authentication methods for the interface.
|
||||
|
||||
Returns:
|
||||
The available authentication methods of the interface as a string, or
|
||||
None if the auth methods can't be found.
|
||||
|
||||
"""
|
||||
return self.wiface.GetAvailableAuthMethods(iwlistauth)
|
||||
|
||||
def GetIwconfig(self):
|
||||
""" Get the out of iwconfig. """
|
||||
return self.wiface.GetIwconfig()
|
||||
|
||||
Reference in New Issue
Block a user