Skip to contentSkip to conversation

staging: r8188eu: Fix spelling mistake "Cancle" -> "Cancel"

PATCH In review Colin King 1 participant 2 messages Aug 3, 2021

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 staging: r8188eu: Fix spelling mistake "Cancle" -> "Cancel"

From: Colin Ian King <[email protected]>

There are spelling mistakes in a RT_TRACE message and a comment. Fix them.

---
 drivers/staging/r8188eu/core/rtw_mlme.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/r8188eu/core/rtw_mlme.c +2 -3
index a6d62074289f..a2c1e03e874f 100644
@@ -1243,11 +1243,10 @@ void rtw_joinbss_event_prehandle(struct adapter *adapter, u8 *pbuf)
 					RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("adhoc mode, fw_state:%x", get_fwstate(pmlmepriv)));
 				}
 
-			/* s5. Cancle assoc_timer */
+			/* s5. Cancel assoc_timer */
 			_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
 
-			RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("Cancle assoc_timer\n"));
-
+			RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("cancel assoc_timer\n"));
 		} else {
 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_joinbss_event_callback err: fw_state:%x", get_fwstate(pmlmepriv)));
 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
Signature · 1 line
2.31.1
#1 lore raw

NAK: [PATCH][next] staging: r8188eu: Fix spelling mistake "Cancle" -> "Cancel"

Quoted 18 lines · Colin King

From: Colin Ian King <[email protected]>

There are spelling mistakes in a RT_TRACE message and a comment. Fix them.

---
 drivers/staging/r8188eu/core/rtw_mlme.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/staging/r8188eu/core/rtw_mlme.c +0 -0
index a6d62074289f..a2c1e03e874f 100644
@@ -1243,11 +1243,10 @@ void rtw_joinbss_event_prehandle(struct adapter *adapter, u8 *pbuf)
 					RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("adhoc mode, fw_state:%x", get_fwstate(pmlmepriv)));
 				}
 

drivers/staging/r8188eu/core/rtw_mlme.c void rtw_joinbss_event_prehandle(struct adapter *adapter, u8 *pbuf) · line 1252

Quoted 10 lines
drivers/staging/r8188eu/core/rtw_mlme.c +2 -3
-			/* s5. Cancle assoc_timer */
+			/* s5. Cancel assoc_timer */
 			_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
 
-			RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("Cancle assoc_timer\n"));
-
+			RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("cancel assoc_timer\n"));
 		} else {
 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_joinbss_event_callback err: fw_state:%x", get_fwstate(pmlmepriv)));
 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);

NAK. I've found a bunch more typos in this driver, I'll send a V2 including this fix.

Colin