mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
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:
parent
632cdeeec8
commit
f4a1669097
10 changed files with 27 additions and 75 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue