rtl8188eu: Rework CONFIG_NATIVEAP_MLME

This variable is set in autoconf.h to be defined whenever CONFIG_AP is
defined. As there is no need for both parameters, CONFIG_NATIVEAP_MLME is
renamed to CONFIG_AP. In addition, the dead code associated with the one
instance where of _CONFIG_NATIVEAP_MLME_ is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-20 11:01:46 -05:00
parent 632cdeeec8
commit f4a1669097
10 changed files with 27 additions and 75 deletions

View file

@ -427,7 +427,7 @@ _func_enter_;
/* change to other mode from Ndis802_11APMode */
cur_network->join_res = -1;
#ifdef CONFIG_NATIVEAP_MLME
#ifdef CONFIG_AP_MODE
stop_ap_mode(padapter);
#endif
}
@ -463,7 +463,7 @@ _func_enter_;
case Ndis802_11APMode:
set_fwstate(pmlmepriv, WIFI_AP_STATE);
#ifdef CONFIG_NATIVEAP_MLME
#ifdef CONFIG_AP_MODE
start_ap_mode(padapter);
#endif