Skip to content

Commit 6911a08

Browse files
garyrookardgregkh
authored andcommitted
staging: rtl8192e: rename variable HTInitializeBssDesc
Coding style issue, checkpatch Avoid CamelCase, rename it. HTInitializeBssDesc -> ht_initialize_bss_desc Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231221183413.8349-2-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5090a4b commit 6911a08

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/staging/rtl8192e/rtl819x_HTProc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ void ht_initialize_ht_info(struct rtllib_device *ieee)
543543
}
544544
}
545545

546-
void HTInitializeBssDesc(struct bss_ht *pBssHT)
546+
void ht_initialize_bss_desc(struct bss_ht *pBssHT)
547547
{
548548
pBssHT->bd_support_ht = false;
549549
memset(pBssHT->bd_ht_cap_buf, 0, sizeof(pBssHT->bd_ht_cap_buf));

drivers/staging/rtl8192e/rtllib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ void ht_construct_rt2rt_agg_element(struct rtllib_device *ieee,
17581758
u8 *posRT2RTAgg, u8 *len);
17591759
void ht_on_assoc_rsp(struct rtllib_device *ieee);
17601760
void ht_initialize_ht_info(struct rtllib_device *ieee);
1761-
void HTInitializeBssDesc(struct bss_ht *pBssHT);
1761+
void ht_initialize_bss_desc(struct bss_ht *pBssHT);
17621762
void HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee,
17631763
struct rtllib_network *pNetwork);
17641764
void HT_update_self_and_peer_setting(struct rtllib_device *ieee,

drivers/staging/rtl8192e/rtllib_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ static inline int rtllib_network_init(
21892189
network->RSSI = stats->SignalStrength;
21902190
network->CountryIeLen = 0;
21912191
memset(network->CountryIeBuf, 0, MAX_IE_LEN);
2192-
HTInitializeBssDesc(&network->bssht);
2192+
ht_initialize_bss_desc(&network->bssht);
21932193
network->flags |= NETWORK_HAS_CCK;
21942194

21952195
network->wpa_ie_len = 0;

0 commit comments

Comments
 (0)