mirror of
https://github.com/gryf/wicd.git
synced 2026-02-20 00:45:46 +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
|
wiface = self.wiface
|
||||||
print 'Creating ad-hoc network'
|
print 'Creating ad-hoc network'
|
||||||
print 'Stopping dhcp client and wpa_supplicant'
|
print 'Stopping dhcp client and wpa_supplicant'
|
||||||
BACKEND.ReleaseDHCP()
|
wiface.ReleaseDHCP()
|
||||||
wiface.StopWPA()
|
wiface.StopWPA()
|
||||||
print 'Putting wireless interface down'
|
print 'Putting wireless interface down'
|
||||||
wiface.Down()
|
wiface.Down()
|
||||||
|
|||||||
Reference in New Issue
Block a user