Commit a58cc341 authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman

staging: rtl8712: Remove mp_start_joinbss()

Remove unused function mp_start_joinbss.
Signed-off-by: default avatarNishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 162c0dfa
...@@ -231,22 +231,6 @@ static int mp_stop_test(struct _adapter *padapter) ...@@ -231,22 +231,6 @@ static int mp_stop_test(struct _adapter *padapter)
return _SUCCESS; return _SUCCESS;
} }
int mp_start_joinbss(struct _adapter *padapter, struct ndis_802_11_ssid *pssid)
{
struct mp_priv *pmppriv = &padapter->mppriv;
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
unsigned char res = _SUCCESS;
if (!check_fwstate(pmlmepriv, WIFI_MP_STATE))
return _FAIL;
if (!check_fwstate(pmlmepriv, _FW_LINKED))
return _FAIL;
_clr_fwstate_(pmlmepriv, _FW_LINKED);
res = r8712_setassocsta_cmd(padapter, pmppriv->network_macaddr);
set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
return res;
}
uint oid_rt_pro_set_data_rate_hdl(struct oid_par_priv uint oid_rt_pro_set_data_rate_hdl(struct oid_par_priv
*poid_par_priv) *poid_par_priv)
{ {
......
...@@ -71,8 +71,6 @@ struct DR_VARIABLE_STRUCT { ...@@ -71,8 +71,6 @@ struct DR_VARIABLE_STRUCT {
u32 variable; u32 variable;
}; };
int mp_start_joinbss(struct _adapter *padapter, struct ndis_802_11_ssid *pssid);
/* oid_rtl_seg_87_11_00 */ /* oid_rtl_seg_87_11_00 */
uint oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv); uint oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv);
uint oid_rt_pro_write_register_hdl(struct oid_par_priv *poid_par_priv); uint oid_rt_pro_write_register_hdl(struct oid_par_priv *poid_par_priv);
......
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