tests: Fix a typo in check_p2p_response error path
authorJouni Malinen <j@w1.fi>
Sat, 8 Mar 2014 22:58:46 +0000 (00:58 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 8 Mar 2014 23:18:42 +0000 (01:18 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_p2p_messages.py

index 9d1fc94..d526d3b 100644 (file)
@@ -881,7 +881,7 @@ def check_p2p_response(hapd, dialog_token, status):
     if dialog_token != p2p['dialog_token']:
         raise Exception("Unexpected dialog token in response")
     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):
     """P2P protocol test for simultaneous GO Neg initiation"""