mirror of
https://github.com/gryf/wicd.git
synced 2026-03-17 07:13:33 +01:00
Adding the possibility of a custom iwconfig
This commit is contained in:
@@ -625,7 +625,7 @@ class Wireless(Controller):
|
||||
"""
|
||||
return self.wiface.GetBSSID()
|
||||
|
||||
def GetCurrentBitrate(self):
|
||||
def GetCurrentBitrate(self, iwconfig):
|
||||
""" Get the current bitrate of the interface.
|
||||
|
||||
Returns:
|
||||
@@ -633,7 +633,7 @@ class Wireless(Controller):
|
||||
None the bitrate can't be found.
|
||||
|
||||
"""
|
||||
return self.wiface.GetCurrentBitrate()
|
||||
return self.wiface.GetCurrentBitrate(iwconfig)
|
||||
|
||||
def GetIwconfig(self):
|
||||
""" Get the out of iwconfig. """
|
||||
|
||||
Reference in New Issue
Block a user