Fix crash when trying to create an ad-hoc network.
This commit is contained in:
1 parent
dfcaeb3717
commit
27f2890c12
1 file changed
+1
-1
+1
-1
@@ -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