staging: rtl8723au: Nuke HW_VAR_BCN_FUNC
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7c82a2b91d
commit
dc451608f3
|
@ -9378,7 +9378,6 @@ u8 disconnect_hdl23a(struct rtw_adapter *padapter, unsigned char *pbuf)
|
|||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info;
|
||||
struct wlan_bssid_ex *pnetwork = &pmlmeinfo->network;
|
||||
u8 val8;
|
||||
|
||||
if (is_client_associated_to_ap23a(padapter))
|
||||
{
|
||||
|
@ -9395,12 +9394,9 @@ u8 disconnect_hdl23a(struct rtw_adapter *padapter, unsigned char *pbuf)
|
|||
/* restore to initial setting. */
|
||||
update_tx_basic_rate23a(padapter, padapter->registrypriv.wireless_mode);
|
||||
|
||||
if (((pmlmeinfo->state&0x03) == WIFI_FW_ADHOC_STATE) || ((pmlmeinfo->state&0x03) == WIFI_FW_AP_STATE))
|
||||
{
|
||||
/* Stop BCN */
|
||||
val8 = 0;
|
||||
rtw_hal_set_hwreg23a(padapter, HW_VAR_BCN_FUNC, (u8 *)(&val8));
|
||||
}
|
||||
if (((pmlmeinfo->state & 0x03) == WIFI_FW_ADHOC_STATE) ||
|
||||
((pmlmeinfo->state & 0x03) == WIFI_FW_AP_STATE))
|
||||
rtl8723a_set_bcn_func(padapter, 0); /* Stop BCN */
|
||||
|
||||
/* set MSR to no link state -> infra. mode */
|
||||
Set_MSR23a(padapter, _HW_STATE_STATION_);
|
||||
|
|
|
@ -3139,10 +3139,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
|
|||
rtl8723a_set_tx_pause(padapter, *val);
|
||||
break;
|
||||
|
||||
case HW_VAR_BCN_FUNC:
|
||||
rtl8723a_set_bcn_func(padapter, *val);
|
||||
break;
|
||||
|
||||
case HW_VAR_DM_FLAG:
|
||||
rtl8723a_odm_support_ability_write(padapter, *val32);
|
||||
break;
|
||||
|
|
|
@ -38,7 +38,6 @@ enum _CHIP_TYPE {
|
|||
enum HW_VARIABLES {
|
||||
HW_VAR_INIT_RTS_RATE,
|
||||
HW_VAR_TXPAUSE,
|
||||
HW_VAR_BCN_FUNC,
|
||||
HW_VAR_RF_TYPE,
|
||||
HW_VAR_DM_FLAG,
|
||||
HW_VAR_DM_FUNC_OP,
|
||||
|
|
Loading…
Reference in a new issue