Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 259cdb5f authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: Restore line that was incorrectly removed



A line in the P2P code had been removed in the process of converting the vendor
driver to a form suitable for the kernel. The output of this call was ignored,
and the initial analysis incorrectly determined that the call had no other
effect.

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b1290e5
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -1496,6 +1496,7 @@ static void find_phase_handler(struct adapter *padapter)
{
{
	struct wifidirect_info  *pwdinfo = &padapter->wdinfo;
	struct wifidirect_info  *pwdinfo = &padapter->wdinfo;
	struct ndis_802_11_ssid	ssid;
	struct ndis_802_11_ssid	ssid;
	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;


_func_enter_;
_func_enter_;


@@ -1505,6 +1506,9 @@ _func_enter_;


	rtw_p2p_set_state(pwdinfo, P2P_STATE_FIND_PHASE_SEARCH);
	rtw_p2p_set_state(pwdinfo, P2P_STATE_FIND_PHASE_SEARCH);


        spin_lock_bh(&pmlmepriv->lock);
        rtw_sitesurvey_cmd(padapter, &ssid, 1, NULL, 0);
        spin_unlock_bh(&pmlmepriv->lock);
_func_exit_;
_func_exit_;
}
}