1
0
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:
Dan O'Reilly
2009-07-02 16:50:48 -04:00
parent dfcaeb3717
commit 27f2890c12

View File

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