Staging: r8188eu: core: rtw_xmit: Fixed some spelling errors in the comments
authorChang Yu <marcus.yu.56@gmail.com>
Sun, 19 Jun 2022 19:42:29 +0000 (12:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2022 08:06:08 +0000 (10:06 +0200)
Fixed the spelling of "broadcast" and "update" in the comments.

Signed-off-by: Chang Yu <marcus.yu.56@gmail.com>
Link: https://lore.kernel.org/r/8d2f49631551b53ad970c9165cceb845c4d60b75.1655666628.git.marcus.yu.56@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c

index edb224a39f70f076bf3e35903a314fbb71c1906a..0f9cbfa6ea5073aef70aeb9678f1c03bc0b3a41d 100644 (file)
@@ -956,7 +956,7 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct
                }
 
                if (bmcst) {
-                       /*  don't do fragment to broadcat/multicast packets */
+                       /*  don't do fragment to broadcast/multicast packets */
                        mem_sz = _rtw_pktfile_read(&pktfile, pframe, pattrib->pktlen);
                } else {
                        mem_sz = _rtw_pktfile_read(&pktfile, pframe, mpdu_len);
@@ -1755,8 +1755,8 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fra
 
                        pstapriv->tim_bitmap |= BIT(0);/*  */
                        pstapriv->sta_dz_bitmap |= BIT(0);
-
-                       update_beacon(padapter, _TIM_IE_, NULL, false);/* tx bc/mc packets after upate bcn */
+                       /* tx bc/mc packets after update bcn */
+                       update_beacon(padapter, _TIM_IE_, NULL, false);
 
                        ret = true;
                }
@@ -1806,7 +1806,7 @@ int xmitframe_enqueue_for_sleeping_sta(struct adapter *padapter, struct xmit_fra
                                pstapriv->tim_bitmap |= BIT(psta->aid);
 
                                if (psta->sleepq_len == 1) {
-                                       /* upate BCN for TIM IE */
+                                       /* update BCN for TIM IE */
                                        update_beacon(padapter, _TIM_IE_, NULL, false);
                                }
                        }
@@ -2075,7 +2075,7 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst
                if ((psta->sleepq_ac_len == 0) && (!psta->has_legacy_ac) && (wmmps_ac)) {
                        pstapriv->tim_bitmap &= ~BIT(psta->aid);
 
-                       /* upate BCN for TIM IE */
+                       /* update BCN for TIM IE */
                        update_beacon(padapter, _TIM_IE_, NULL, false);
                }
        }