mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 13:33:06 +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
|
@ -262,7 +262,7 @@ void rtw_hal_update_ra_mask(_adapter *padapter, u32 mac_id, u8 rssi_level)
|
|||
{
|
||||
struct sta_info *psta = NULL;
|
||||
struct sta_priv *pstapriv = &padapter->stapriv;
|
||||
#ifdef CONFIG_NATIVEAP_MLME
|
||||
#ifdef CONFIG_AP_MODE
|
||||
if ((mac_id-1)>0)
|
||||
psta = pstapriv->sta_aid[(mac_id-1) - 1];
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue