Skip to content

Commit b399e23

Browse files
garyrookardgregkh
authored andcommitted
staging: rtl8192e: rename variable HTCCheck
Coding style issue, checkpatch Avoid CamelCase, rename it. HTCCheck -> ht_c_check Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231221183413.8349-4-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0901e69 commit b399e23

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ void HT_update_self_and_peer_setting(struct rtllib_device *ieee,
622622
}
623623
EXPORT_SYMBOL(HT_update_self_and_peer_setting);
624624

625-
u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame)
625+
u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame)
626626
{
627627
if (ieee->ht_info->current_ht_support) {
628628
if ((IsQoSDataFrame(pFrame) && Frame_Order(pFrame)) == 1) {

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ u8 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *pMCSRateSet,
17671767
u8 *pMCSFilter);
17681768
extern u8 MCS_FILTER_ALL[];
17691769
extern u16 MCS_DATA_RATE[2][2][77];
1770-
u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame);
1770+
u8 ht_c_check(struct rtllib_device *ieee, u8 *pFrame);
17711771
void ht_reset_iot_setting(struct rt_hi_throughput *ht_info);
17721772
bool is_ht_half_nmode_aps(struct rtllib_device *ieee);
17731773
u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 nDataRate);

drivers/staging/rtl8192e/rtllib_rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ static size_t rtllib_rx_get_hdrlen(struct rtllib_device *ieee,
857857
size_t hdrlen;
858858

859859
hdrlen = rtllib_get_hdrlen(fc);
860-
if (HTCCheck(ieee, skb->data)) {
860+
if (ht_c_check(ieee, skb->data)) {
861861
if (net_ratelimit())
862862
netdev_info(ieee->dev, "%s: find HTCControl!\n",
863863
__func__);
@@ -1401,7 +1401,7 @@ static int rtllib_rx_Monitor(struct rtllib_device *ieee, struct sk_buff *skb,
14011401
return 0;
14021402
}
14031403

1404-
if (HTCCheck(ieee, skb->data)) {
1404+
if (ht_c_check(ieee, skb->data)) {
14051405
if (net_ratelimit())
14061406
netdev_info(ieee->dev, "%s: Find HTCControl!\n",
14071407
__func__);

0 commit comments

Comments
 (0)