tests: Fix a typo in check_p2p_response error path

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-03-09 00:58:46 +02:00
parent e2a9fa34bb
commit 9e423774d3

View file

@ -881,7 +881,7 @@ def check_p2p_response(hapd, dialog_token, status):
if dialog_token != p2p['dialog_token']: if dialog_token != p2p['dialog_token']:
raise Exception("Unexpected dialog token in response") raise Exception("Unexpected dialog token in response")
if p2p['p2p_status'] != status: if p2p['p2p_status'] != status:
raise Esception("Unexpected status code %s in response (expected %d)" % (p2p['p2p_status'], status)) raise Exception("Unexpected status code %s in response (expected %d)" % (p2p['p2p_status'], status))
def test_p2p_msg_go_neg_both_start(dev, apdev): def test_p2p_msg_go_neg_both_start(dev, apdev):
"""P2P protocol test for simultaneous GO Neg initiation""" """P2P protocol test for simultaneous GO Neg initiation"""