staging: rtl8188eu: Replace function beacon_timing_control()
Remove function beacon_timing_control as all it does is call rtw_hal_bcn_related_reg_setting. Rename rtw_hal_bcn_related_reg_setting to beacon_timing_control for compatibility with call sites. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190712071746.2474-3-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d6a496f937
commit
01625b0bbb
@ -1466,8 +1466,3 @@ void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext)
|
|||||||
{
|
{
|
||||||
rtw_hal_set_hwreg(padapter, HW_VAR_CORRECT_TSF, NULL);
|
rtw_hal_set_hwreg(padapter, HW_VAR_CORRECT_TSF, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void beacon_timing_control(struct adapter *padapter)
|
|
||||||
{
|
|
||||||
rtw_hal_bcn_related_reg_setting(padapter);
|
|
||||||
}
|
|
||||||
|
@ -1934,7 +1934,7 @@ void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_level)
|
|||||||
psta->init_rate = init_rate;
|
psta->init_rate = init_rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
void rtw_hal_bcn_related_reg_setting(struct adapter *adapt)
|
void beacon_timing_control(struct adapter *adapt)
|
||||||
{
|
{
|
||||||
u32 value32;
|
u32 value32;
|
||||||
struct mlme_ext_priv *pmlmeext = &adapt->mlmeextpriv;
|
struct mlme_ext_priv *pmlmeext = &adapt->mlmeextpriv;
|
||||||
|
@ -199,7 +199,7 @@ void rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg, u8 level);
|
|||||||
void rtw_hal_clone_data(struct adapter *dst_adapt,
|
void rtw_hal_clone_data(struct adapter *dst_adapt,
|
||||||
struct adapter *src_adapt);
|
struct adapter *src_adapt);
|
||||||
|
|
||||||
void rtw_hal_bcn_related_reg_setting(struct adapter *padapter);
|
void beacon_timing_control(struct adapter *padapter);
|
||||||
|
|
||||||
u32 rtw_hal_read_rfreg(struct adapter *padapter, enum rf_radio_path eRFPath,
|
u32 rtw_hal_read_rfreg(struct adapter *padapter, enum rf_radio_path eRFPath,
|
||||||
u32 RegAddr, u32 BitMask);
|
u32 RegAddr, u32 BitMask);
|
||||||
|
@ -535,7 +535,6 @@ void report_del_sta_event(struct adapter *padapter,
|
|||||||
void report_add_sta_event(struct adapter *padapter, unsigned char *addr,
|
void report_add_sta_event(struct adapter *padapter, unsigned char *addr,
|
||||||
int cam_idx);
|
int cam_idx);
|
||||||
|
|
||||||
void beacon_timing_control(struct adapter *padapter);
|
|
||||||
u8 set_tx_beacon_cmd(struct adapter *padapter);
|
u8 set_tx_beacon_cmd(struct adapter *padapter);
|
||||||
unsigned int setup_beacon_frame(struct adapter *padapter,
|
unsigned int setup_beacon_frame(struct adapter *padapter,
|
||||||
unsigned char *beacon_frame);
|
unsigned char *beacon_frame);
|
||||||
|
Loading…
Reference in New Issue
Block a user