p2p_go_neg_init() ignored the provided timeout value and used the
default 15 second timeout in discover_peer(). This did not allow the
recently added go_neg_pbc() timeout increase for concurrent cases to be
used fully.
Signed-off-by: Jouni Malinen <j@w1.fi>
persistent_id=None, freq=None, provdisc=False,
wait_group=True, freq2=None, max_oper_chwidth=None,
ht40=False, vht=False):
- if not self.discover_peer(peer):
+ if not self.discover_peer(peer,timeout=timeout if timeout else 15):
raise Exception("Peer " + peer + " not found")
self.dump_monitor()
if pin: