aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/p2p/p2p_invite.py
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2020-10-18 17:28:23 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-19 21:37:01 (GMT)
commitb439b21a2fda45ed3f19c6b772575acb5e9c2cf8 (patch)
tree439b12fef8779c6a9b4640994dfe55319673af0e /wpa_supplicant/examples/p2p/p2p_invite.py
parentac835ea0928d416a92bebbe7129ae295166b6ddc (diff)
downloadhostap-b439b21a2fda45ed3f19c6b772575acb5e9c2cf8.zip
hostap-b439b21a2fda45ed3f19c6b772575acb5e9c2cf8.tar.gz
hostap-b439b21a2fda45ed3f19c6b772575acb5e9c2cf8.tar.bz2
wpa_supplicant: Fix typos
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Diffstat (limited to 'wpa_supplicant/examples/p2p/p2p_invite.py')
-rw-r--r--wpa_supplicant/examples/p2p/p2p_invite.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/wpa_supplicant/examples/p2p/p2p_invite.py b/wpa_supplicant/examples/p2p/p2p_invite.py
index 341dcd0..8944e11 100644
--- a/wpa_supplicant/examples/p2p/p2p_invite.py
+++ b/wpa_supplicant/examples/p2p/p2p_invite.py
@@ -25,7 +25,7 @@ def usage():
# Required Signals
def InvitationResult(invite_result):
- print("Inviation Result signal :")
+ print("Invitation Result signal :")
status = invite_result['status']
print("status = ", status)
if invite_result.has_key('BSSID'):
@@ -55,7 +55,7 @@ class P2P_Invite (threading.Thread):
global wpas_dbus_interfaces_interface
global wpas_dbus_interfaces_p2pdevice
- # Arguements
+ # Arguments
global P2PDictionary
# Constructor
@@ -127,7 +127,7 @@ class P2P_Invite (threading.Thread):
self.p2p_interface.Invite(self.P2PDictionary)
except:
- print("Error:\n Invalid Arguements")
+ print("Error:\n Invalid Arguments")
usage()
os._exit(0)
@@ -154,7 +154,7 @@ if __name__ == "__main__":
usage()
quit()
- # If theres a switch, override default option
+ # If there's a switch, override default option
for key, value in options:
# Help
if (key == "-h"):
@@ -190,7 +190,7 @@ if __name__ == "__main__":
P2P_Invite(interface_name,wpas_dbus_interface,
addr,persistent_group_object)
except:
- print("Error:\n Invalid Arguements")
+ print("Error:\n Invalid Arguments")
usage()
os._exit(1)