|
|
@ -120,7 +120,7 @@ class P2P_Group_Add (threading.Thread):
|
|
|
|
signal_name="WpsFailed")
|
|
|
|
signal_name="WpsFailed")
|
|
|
|
|
|
|
|
|
|
|
|
# Sets up p2p_group_add dictionary
|
|
|
|
# Sets up p2p_group_add dictionary
|
|
|
|
def constructArguements(self):
|
|
|
|
def constructArguments(self):
|
|
|
|
self.P2PDictionary = {'persistent':self.persistent}
|
|
|
|
self.P2PDictionary = {'persistent':self.persistent}
|
|
|
|
|
|
|
|
|
|
|
|
if (self.frequency != None):
|
|
|
|
if (self.frequency != None):
|
|
|
@ -215,7 +215,7 @@ if __name__ == "__main__":
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
print("Error:\n Invalid Arguments")
|
|
|
|
print("Error:\n Invalid Arguments")
|
|
|
|
|
|
|
|
|
|
|
|
p2p_group_add_test.constructArguements()
|
|
|
|
p2p_group_add_test.constructArguments()
|
|
|
|
p2p_group_add_test.start()
|
|
|
|
p2p_group_add_test.start()
|
|
|
|
time.sleep(5)
|
|
|
|
time.sleep(5)
|
|
|
|
print("Error:\n Group formation timed out")
|
|
|
|
print("Error:\n Group formation timed out")
|
|
|
|