mirror of
https://github.com/gryf/wicd.git
synced 2025-12-29 01:42:33 +01:00
Fix crash when trying to create an ad-hoc network.
This commit is contained in:
@@ -719,7 +719,7 @@ class Wireless(Controller):
|
||||
wiface = self.wiface
|
||||
print 'Creating ad-hoc network'
|
||||
print 'Stopping dhcp client and wpa_supplicant'
|
||||
BACKEND.ReleaseDHCP()
|
||||
wiface.ReleaseDHCP()
|
||||
wiface.StopWPA()
|
||||
print 'Putting wireless interface down'
|
||||
wiface.Down()
|
||||
|
||||
Reference in New Issue
Block a user