@@ -144,7 +144,7 @@ def reset(self):
144144 # Terminate the current connection (if there is one)
145145 if hasattr (self , 'access_address' ):
146146 # We don't expect a response.
147- # The scan request below will also take care of reading resonse packets.
147+ # The scan request below will also take care of reading response packets.
148148 self .send (self .packets ['LL_CTRL_TERMINATE_IND' ](self ))
149149 time .sleep (self .recv_s_min )
150150
@@ -170,7 +170,7 @@ def reset(self):
170170 self .atype = 0
171171 self .dhkey_check = b'\x00 ' * 16
172172
173- # Keep track of the input/outpus symbols in the current sequence
173+ # Keep track of the input/output symbols in the current sequence
174174 self .input_sequence = []
175175 self .output_sequence = []
176176
@@ -226,7 +226,7 @@ def ll_ctrl_enc_req(self, pkt):
226226 # We have to receive the response packets one-by-one because in case a 2nd
227227 # LL_CTRL_ENC_REQ packet is sent, the LL_CTRL_ENC_RSP will be encrypted with
228228 # the old key/iv and the LL_CTRL_START_ENC_REQ with the new key/iv.
229- # That means we have to switch the key/iv inbetween .
229+ # That means we have to switch the key/iv in between .
230230 res_pkts = []
231231 time_start = time .time ()
232232 while not self .is_rsp_complete (res_pkts , time .time () - time_start ):
@@ -551,4 +551,4 @@ def close(self):
551551 total_pause_time += (pause_end - pause_start )
552552 print (f' TOTAL: { total_pause_time } s' )
553553 self .driver .save_pcap ('BLESUL_io.pcapng' )
554- self .driver .close ()
554+ self .driver .close ()
0 commit comments