Skip to content

Commit da8f893

Browse files
treedaviesgregkh
authored andcommitted
Staging: rtl8192e: Rename function rtllib_FlushRxTsPendingPkts()
Rename function rtllib_FlushRxTsPendingPkts to rtllib_flush_rx_ts_pending_pkts to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240229024325.453374-8-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 72280b0 commit da8f893

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/staging/rtl8192e/rtl819x_BAProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ int rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb)
268268
goto on_add_ba_req_fail;
269269
}
270270

271-
rtllib_FlushRxTsPendingPkts(ieee, ts);
271+
rtllib_flush_rx_ts_pending_pkts(ieee, ts);
272272

273273
deactivate_ba_entry(ieee, ba);
274274
ba->dialog_token = *dialog_token;

drivers/staging/rtl8192e/rtllib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,8 +1794,8 @@ bool rtllib_mgnt_disconnect(struct rtllib_device *rtllib, u8 rsn);
17941794
/* For the function is more related to hardware setting, it's better to use the
17951795
* ieee handler to refer to it.
17961796
*/
1797-
void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee,
1798-
struct rx_ts_record *ts);
1797+
void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
1798+
struct rx_ts_record *ts);
17991799
int rtllib_parse_info_param(struct rtllib_device *ieee,
18001800
struct rtllib_info_element *info_element,
18011801
u16 length,

drivers/staging/rtl8192e/rtllib_rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ void rtllib_indicate_packets(struct rtllib_device *ieee,
487487
}
488488
}
489489

490-
void rtllib_FlushRxTsPendingPkts(struct rtllib_device *ieee,
491-
struct rx_ts_record *ts)
490+
void rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee,
491+
struct rx_ts_record *ts)
492492
{
493493
struct rx_reorder_entry *pRxReorderEntry;
494494
u8 RfdCnt = 0;

0 commit comments

Comments
 (0)