Commit 9ee07ff4 authored by Gary Rookard's avatar Gary Rookard Committed by Greg Kroah-Hartman

staging: rtl8192e: rename variable HTConstructCapabilityElement

Coding style issue, checkpatch Avoid CamelCase,
rename it. HTConstructCapabilityElement -> ht_construct_capability_element
Signed-off-by: default avatarGary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231211001335.26169-4-garyrookard@fastmail.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ba1a160
...@@ -237,7 +237,7 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht_info) ...@@ -237,7 +237,7 @@ void ht_reset_iot_setting(struct rt_hi_throughput *ht_info)
ht_info->iot_ra_func = 0; ht_info->iot_ra_func = 0;
} }
void HTConstructCapabilityElement(struct rtllib_device *ieee, u8 *posHTCap, void ht_construct_capability_element(struct rtllib_device *ieee, u8 *posHTCap,
u8 *len, u8 IsEncrypt, bool bAssoc) u8 *len, u8 IsEncrypt, bool bAssoc)
{ {
struct rt_hi_throughput *pHT = ieee->ht_info; struct rt_hi_throughput *pHT = ieee->ht_info;
......
...@@ -1755,7 +1755,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee, ...@@ -1755,7 +1755,7 @@ void HTSetConnectBwMode(struct rtllib_device *ieee,
enum ht_channel_width bandwidth, enum ht_channel_width bandwidth,
enum ht_extchnl_offset Offset); enum ht_extchnl_offset Offset);
void ht_update_default_setting(struct rtllib_device *ieee); void ht_update_default_setting(struct rtllib_device *ieee);
void HTConstructCapabilityElement(struct rtllib_device *ieee, void ht_construct_capability_element(struct rtllib_device *ieee,
u8 *posHTCap, u8 *len, u8 *posHTCap, u8 *len,
u8 isEncrypt, bool bAssoc); u8 isEncrypt, bool bAssoc);
void HTConstructRT2RTAggElement(struct rtllib_device *ieee, void HTConstructRT2RTAggElement(struct rtllib_device *ieee,
......
...@@ -730,7 +730,7 @@ rtllib_association_req(struct rtllib_network *beacon, ...@@ -730,7 +730,7 @@ rtllib_association_req(struct rtllib_network *beacon,
if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) { if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht) {
ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap); ht_cap_buf = (u8 *)&(ieee->ht_info->SelfHTCap);
ht_cap_len = sizeof(ieee->ht_info->SelfHTCap); ht_cap_len = sizeof(ieee->ht_info->SelfHTCap);
HTConstructCapabilityElement(ieee, ht_cap_buf, &ht_cap_len, ht_construct_capability_element(ieee, ht_cap_buf, &ht_cap_len,
encrypt, true); encrypt, true);
if (ieee->ht_info->current_rt2rt_aggregation) { if (ieee->ht_info->current_rt2rt_aggregation) {
realtek_ie_buf = ieee->ht_info->sz_rt2rt_agg_buf; realtek_ie_buf = ieee->ht_info->sz_rt2rt_agg_buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment