Skip to content

Commit 858ea45

Browse files
R Veera Kumargregkh
authored andcommitted
staging: rtl8723bs: core: Correct typos in comments
Correct typos in comments. Misspellings found using checkpatch.pl. Signed-off-by: R Veera Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 78989d9 commit 858ea45

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

drivers/staging/rtl8723bs/core/rtw_cmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ int rtw_cmd_thread(void *context)
518518
rtw_free_cmd_obj(pcmd);
519519
} else {
520520
/* todo: !!! fill rsp_buf to pcmd->rsp if (pcmd->rsp!= NULL) */
521-
pcmd_callback(pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */
521+
pcmd_callback(pcmd->padapter, pcmd);/* need consider that free cmd_obj in rtw_cmd_callback */
522522
}
523523
} else {
524524
RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("%s: cmdcode = 0x%x callback not defined!\n", __func__, pcmd->cmdcode));
@@ -987,7 +987,7 @@ u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_
987987
memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey, 16);
988988
}
989989

990-
/* jeff: set this becasue at least sw key is ready */
990+
/* jeff: set this because at least sw key is ready */
991991
padapter->securitypriv.busetkipkey = true;
992992

993993
if (enqueue) {

drivers/staging/rtl8723bs/core/rtw_ieee80211.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, u
217217
* rtw_ies_remove_ie - Find matching IEs and remove
218218
* @ies: Address of IEs to search
219219
* @ies_len: Pointer of length of ies, will update to new length
220-
* @offset: The offset to start scarch
220+
* @offset: The offset to start search
221221
* @eid: Element ID to match
222222
* @oui: OUI to match
223223
* @oui_len: OUI length

drivers/staging/rtl8723bs/core/rtw_ioctl_set.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter,
439439

440440
if ((*pold_state == Ndis802_11Infrastructure) || (*pold_state == Ndis802_11IBSS)) {
441441
if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
442-
rtw_indicate_disconnect(padapter); /* will clr Linked_state; before this function, we must have chked whether issue dis-assoc_cmd or not */
442+
rtw_indicate_disconnect(padapter); /* will clr Linked_state; before this function, we must have checked whether issue dis-assoc_cmd or not */
443443
}
444444
}
445445

drivers/staging/rtl8723bs/core/rtw_pwrctrl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms)
11931193
/*
11941194
* rtw_pwr_wakeup - Wake the NIC up from: 1)IPS. 2)USB autosuspend
11951195
* @adapter: pointer to struct adapter structure
1196-
* @ips_deffer_ms: the ms wiil prevent from falling into IPS after wakeup
1196+
* @ips_deffer_ms: the ms will prevent from falling into IPS after wakeup
11971197
* Return _SUCCESS or _FAIL
11981198
*/
11991199

drivers/staging/rtl8723bs/core/rtw_recv.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_
11791179

11801180
/* DBG_871X("after handling ps-poll, tim =%x\n", pstapriv->tim_bitmap); */
11811181

1182-
/* upate BCN for TIM IE */
1182+
/* update BCN for TIM IE */
11831183
/* update_BCNTIM(padapter); */
11841184
update_beacon(padapter, _TIM_IE_, NULL, true);
11851185
}
@@ -1205,7 +1205,7 @@ sint validate_recv_ctrl_frame(struct adapter *padapter, union recv_frame *precv_
12051205

12061206
pstapriv->tim_bitmap &= ~BIT(psta->aid);
12071207

1208-
/* upate BCN for TIM IE */
1208+
/* update BCN for TIM IE */
12091209
/* update_BCNTIM(padapter); */
12101210
update_beacon(padapter, _TIM_IE_, NULL, true);
12111211
}
@@ -1953,7 +1953,7 @@ static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
19531953
for (i = 0; i < nr_subframes; i++) {
19541954
sub_pkt = subframes[i];
19551955

1956-
/* Indicat the packets to upper layer */
1956+
/* Indicate the packets to upper layer */
19571957
if (sub_pkt) {
19581958
rtw_os_recv_indicate_pkt(padapter, sub_pkt, &prframe->u.hdr.attrib);
19591959
}
@@ -2606,14 +2606,14 @@ static void rtw_signal_stat_timer_hdl(struct timer_list *t)
26062606
if (recvpriv->signal_strength_data.update_req == 0) {/* update_req is clear, means we got rx */
26072607
avg_signal_strength = recvpriv->signal_strength_data.avg_val;
26082608
num_signal_strength = recvpriv->signal_strength_data.total_num;
2609-
/* after avg_vals are accquired, we can re-stat the signal values */
2609+
/* after avg_vals are acquired, we can re-stat the signal values */
26102610
recvpriv->signal_strength_data.update_req = 1;
26112611
}
26122612

26132613
if (recvpriv->signal_qual_data.update_req == 0) {/* update_req is clear, means we got rx */
26142614
avg_signal_qual = recvpriv->signal_qual_data.avg_val;
26152615
num_signal_qual = recvpriv->signal_qual_data.total_num;
2616-
/* after avg_vals are accquired, we can re-stat the signal values */
2616+
/* after avg_vals are acquired, we can re-stat the signal values */
26172617
recvpriv->signal_qual_data.update_req = 1;
26182618
}
26192619

drivers/staging/rtl8723bs/core/rtw_wlan_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ void update_beacon_info(struct adapter *padapter, u8 *pframe, uint pkt_len, stru
15031503

15041504
switch (pIE->ElementID) {
15051505
case _VENDOR_SPECIFIC_IE_:
1506-
/* to update WMM paramter set while receiving beacon */
1506+
/* to update WMM parameter set while receiving beacon */
15071507
if (!memcmp(pIE->data, WMM_PARA_OUI, 6) && pIE->Length == WLAN_WMM_LEN) /* WMM */
15081508
if (WMM_param_handler(padapter, pIE))
15091509
report_wmm_edca_update(padapter);

drivers/staging/rtl8723bs/core/rtw_xmit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, _pkt *pkt, struct xmit_fram
11801180
mpdu_len -= pattrib->icv_len;
11811181

11821182
if (bmcst) {
1183-
/* don't do fragment to broadcat/multicast packets */
1183+
/* don't do fragment to broadcast/multicast packets */
11841184
mem_sz = _rtw_pktfile_read(&pktfile, pframe, pattrib->pktlen);
11851185
} else {
11861186
mem_sz = _rtw_pktfile_read(&pktfile, pframe, mpdu_len);
@@ -2303,7 +2303,7 @@ sint xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fr
23032303
pstapriv->tim_bitmap |= BIT(psta->aid);
23042304

23052305
if (update_tim)
2306-
/* upate BCN for TIM IE */
2306+
/* update BCN for TIM IE */
23072307
update_beacon(padapter, _TIM_IE_, NULL, true);
23082308
}
23092309

0 commit comments

Comments
 (0)