mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
staging: rtl8723bs: Rename camel case functions.
Rename two functions from camel case to snake case to follow kernel style. - `UpdateBrateTbl` to `update_basic_rate_table` - `UpdateBrateTblForSoftAP` to `update_basic_rate_table_soft_ap` Signed-off-by: Bryant Boatright <bryant.boatright@proton.me> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b655b838ae
commit
b8b4b51be7
@@ -777,7 +777,7 @@ void start_bss_network(struct adapter *padapter)
|
||||
update_wireless_mode(padapter);
|
||||
|
||||
/* update RRSR after set channel and bandwidth */
|
||||
UpdateBrateTbl(padapter, pnetwork->supported_rates);
|
||||
update_basic_rate_table(padapter, pnetwork->supported_rates);
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_BASIC_RATE, pnetwork->supported_rates);
|
||||
|
||||
/* update capability after cur_wireless_mode updated */
|
||||
|
||||
@@ -1062,7 +1062,7 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)
|
||||
/* update station supportRate */
|
||||
pstat->bssratelen = supportRateNum;
|
||||
memcpy(pstat->bssrateset, supportRate, supportRateNum);
|
||||
UpdateBrateTblForSoftAP(pstat->bssrateset, pstat->bssratelen);
|
||||
update_basic_rate_table_soft_ap(pstat->bssrateset, pstat->bssratelen);
|
||||
|
||||
/* check RSN/WPA/WPS */
|
||||
pstat->dot8021xalg = 0;
|
||||
@@ -1450,7 +1450,7 @@ unsigned int OnAssocRsp(struct adapter *padapter, union recv_frame *precv_frame)
|
||||
pmlmeinfo->state |= WIFI_FW_ASSOC_SUCCESS;
|
||||
|
||||
/* Update Basic Rate Table for spec, 2010-12-28 , by thomas */
|
||||
UpdateBrateTbl(padapter, pmlmeinfo->network.supported_rates);
|
||||
update_basic_rate_table(padapter, pmlmeinfo->network.supported_rates);
|
||||
|
||||
report_assoc_result:
|
||||
if (res > 0)
|
||||
|
||||
@@ -181,7 +181,7 @@ void set_mcs_rate_by_mask(u8 *mcs_set, u32 mask)
|
||||
mcs_set[3] &= mcs_rate_4r;
|
||||
}
|
||||
|
||||
void UpdateBrateTbl(struct adapter *Adapter, u8 *mBratesOS)
|
||||
void update_basic_rate_table(struct adapter *Adapter, u8 *mBratesOS)
|
||||
{
|
||||
u8 i;
|
||||
u8 rate;
|
||||
@@ -203,7 +203,7 @@ void UpdateBrateTbl(struct adapter *Adapter, u8 *mBratesOS)
|
||||
}
|
||||
}
|
||||
|
||||
void UpdateBrateTblForSoftAP(u8 *bssrateset, u32 bssratelen)
|
||||
void update_basic_rate_table_soft_ap(u8 *bssrateset, u32 bssratelen)
|
||||
{
|
||||
u8 i;
|
||||
u8 rate;
|
||||
|
||||
@@ -434,8 +434,8 @@ u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta);
|
||||
|
||||
void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len);
|
||||
void set_mcs_rate_by_mask(u8 *mcs_set, u32 mask);
|
||||
void UpdateBrateTbl(struct adapter *padapter, u8 *mBratesOS);
|
||||
void UpdateBrateTblForSoftAP(u8 *bssrateset, u32 bssratelen);
|
||||
void update_basic_rate_table(struct adapter *padapter, u8 *mBratesOS);
|
||||
void update_basic_rate_table_soft_ap(u8 *bssrateset, u32 bssratelen);
|
||||
|
||||
void Save_DM_Func_Flag(struct adapter *padapter);
|
||||
void Restore_DM_Func_Flag(struct adapter *padapter);
|
||||
|
||||
Reference in New Issue
Block a user