commit 0be475af3c68ce1a52e9958e73707074584a1fc1
parent c54ba7158c8813bd28459ceb1eb3018fdfb66ff9
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 4 Jun 2021 03:50:50 +0200
autotests: Add missing space in wpas P2P_CONNECT commands
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py
@@ -203,20 +203,20 @@ class Wpas:
def p2p_connect(self, peer, pin=None, go_intent=None):
self._rx_data = []
self._ctrl_request('P2P_CONNECT ' + peer['p2p_dev_addr'] + ' ' + ('pbc' if pin is None else pin) +
- ('' if go_intent is None else 'go_intent=' + str(go_intent)))
+ ('' if go_intent is None else ' go_intent=' + str(go_intent)))
self.wait_for_event('OK')
def p2p_accept_go_neg_request(self, request, pin=None, go_intent=None):
self._rx_data = []
self._ctrl_request('P2P_CONNECT ' + request['p2p_dev_addr'] + ' ' + ('pbc' if pin is None else pin) +
- ('' if go_intent is None else 'go_intent=' + str(go_intent)))
+ ('' if go_intent is None else ' go_intent=' + str(go_intent)))
self.wait_for_event('OK')
# Pre-accept the next GO Negotiation Request from this peer to avoid the extra Respone + Request frames
def p2p_authorize(self, peer, pin=None, go_intent=None):
self._rx_data = []
self._ctrl_request('P2P_CONNECT ' + peer['p2p_dev_addr'] + ' ' + ('pbc' if pin is None else pin) +
- ('' if go_intent is None else 'go_intent=' + str(go_intent)) + ' auth')
+ ('' if go_intent is None else ' go_intent=' + str(go_intent)) + ' auth')
self.wait_for_event('OK')
# Probably needed: remove references to self so that the GC can call __del__ automatically