1
0
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:
Dario Freddi
2009-03-01 20:19:16 +01:00
parent 9213c7c333
commit 23cb084036
3 changed files with 29 additions and 1 deletions

View File

@@ -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()