Fix couple more typos

Couple of similar cases that were not included in the previous commit.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-10-20 00:19:44 +03:00 committed by Jouni Malinen
parent b439b21a2f
commit 5d988b4a5b
3 changed files with 5 additions and 7 deletions

View file

@ -285,7 +285,7 @@ int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
if (use_private) { if (use_private) {
/* /*
* Decrypt (or sign) using Chinese remainer theorem to speed * Decrypt (or sign) using Chinese remainder theorem to speed
* up calculation. This is equivalent to tmp = tmp^d mod n * up calculation. This is equivalent to tmp = tmp^d mod n
* (which would require more CPU to calculate directly). * (which would require more CPU to calculate directly).
* *

View file

@ -120,7 +120,7 @@ class P2P_Group_Add (threading.Thread):
signal_name="WpsFailed") signal_name="WpsFailed")
# Sets up p2p_group_add dictionary # Sets up p2p_group_add dictionary
def constructArguements(self): def constructArguments(self):
self.P2PDictionary = {'persistent':self.persistent} self.P2PDictionary = {'persistent':self.persistent}
if (self.frequency != None): if (self.frequency != None):
@ -215,7 +215,7 @@ if __name__ == "__main__":
except: except:
print("Error:\n Invalid Arguments") print("Error:\n Invalid Arguments")
p2p_group_add_test.constructArguements() p2p_group_add_test.constructArguments()
p2p_group_add_test.start() p2p_group_add_test.start()
time.sleep(5) time.sleep(5)
print("Error:\n Group formation timed out") print("Error:\n Group formation timed out")

View file

@ -11,8 +11,8 @@ end 192.168.42.254 #default: 192.168.0.254
interface wlan2 #default: eth0 interface wlan2 #default: eth0
# The maximum number of leases (includes addressesd reserved # The maximum number of leases (includes addresses reserved
# by OFFER's, DECLINE's, and ARP conflicts # by OFFER's, DECLINE's, and ARP conflicts)
#max_leases 254 #default: 254 #max_leases 254 #default: 254
@ -116,5 +116,3 @@ option lease 864000 # 10 days of seconds
# Static leases map # Static leases map
#static_lease 00:60:08:11:CE:4E 192.168.0.54 #static_lease 00:60:08:11:CE:4E 192.168.0.54
#static_lease 00:60:08:11:CE:3E 192.168.0.44 #static_lease 00:60:08:11:CE:3E 192.168.0.44