Skip to content

Commit 1d7e13c

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8723bs: rename rtw_os_recv_indicate_pkt
Rename rtw_os_recv_indicate_pkt to rtw_recv_indicate_pkt as the _os_ indicates operating system dependent code which is unnecessary for in-tree linux kernel code. Signed-off-by: Michael Straube <straube.linux@gmail.com> Reviewed-by: Hans de Goede <hansg@kernel.org> Link: https://lore.kernel.org/r/20250822135418.118115-12-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent cc18433 commit 1d7e13c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_recv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,7 @@ static struct sk_buff *rtw_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubfra
16621662
return sub_skb;
16631663
}
16641664

1665-
static void rtw_os_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib)
1665+
static void rtw_recv_indicate_pkt(struct adapter *padapter, struct sk_buff *pkt, struct rx_pkt_attrib *pattrib)
16661666
{
16671667
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
16681668

@@ -1771,7 +1771,7 @@ static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
17711771

17721772
/* Indicate the packets to upper layer */
17731773
if (sub_pkt)
1774-
rtw_os_recv_indicate_pkt(padapter, sub_pkt, &prframe->u.hdr.attrib);
1774+
rtw_recv_indicate_pkt(padapter, sub_pkt, &prframe->u.hdr.attrib);
17751775
}
17761776

17771777
prframe->u.hdr.len = 0;
@@ -1890,7 +1890,7 @@ static int rtw_recv_indicatepkt(struct adapter *padapter, union recv_frame *prec
18901890

18911891
skb->len = precv_frame->u.hdr.len;
18921892

1893-
rtw_os_recv_indicate_pkt(padapter, skb, pattrib);
1893+
rtw_recv_indicate_pkt(padapter, skb, pattrib);
18941894

18951895
/* pointers to NULL before rtw_free_recvframe() */
18961896
precv_frame->u.hdr.pkt = NULL;

0 commit comments

Comments
 (0)