mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e91077579f
commit
bad0b4cde4
91 changed files with 1 additions and 1098 deletions
|
@ -32,7 +32,6 @@ void init_mlme_ap_info(struct adapter *padapter)
|
|||
struct sta_priv *pstapriv = &padapter->stapriv;
|
||||
struct wlan_acl_pool *pacl_list = &pstapriv->acl_list;
|
||||
|
||||
|
||||
spin_lock_init(&pmlmepriv->bcn_update_lock);
|
||||
|
||||
/* for ACL */
|
||||
|
@ -634,7 +633,6 @@ void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta)
|
|||
else
|
||||
psta->ieee8021x_blocked = false;
|
||||
|
||||
|
||||
/* update sta's cap */
|
||||
|
||||
/* ERP */
|
||||
|
@ -732,7 +730,6 @@ static void start_bss_network(struct adapter *padapter, u8 *pbuf)
|
|||
cur_bwmode = HT_CHANNEL_WIDTH_20;
|
||||
cur_ch_offset = HAL_PRIME_CHNL_OFFSET_DONT_CARE;
|
||||
|
||||
|
||||
/* check if there is wps ie, */
|
||||
/* if there is wpsie in beacon, the hostapd will update beacon twice when stating hostapd, */
|
||||
/* and at first time the security ie (RSN/WPA IE) will not include in beacon. */
|
||||
|
@ -880,7 +877,6 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
|
|||
if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
|
||||
return _FAIL;
|
||||
|
||||
|
||||
if (len > MAX_IE_SZ)
|
||||
return _FAIL;
|
||||
|
||||
|
@ -890,7 +886,6 @@ int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len)
|
|||
|
||||
memcpy(ie, pbuf, pbss_network->IELength);
|
||||
|
||||
|
||||
if (pbss_network->InfrastructureMode != Ndis802_11APMode)
|
||||
return _FAIL;
|
||||
|
||||
|
@ -1741,7 +1736,6 @@ u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
|
|||
/* clear cam entry / key */
|
||||
rtw_clearstakey_cmd(padapter, (u8 *)psta, (u8)(psta->mac_id + 3), true);
|
||||
|
||||
|
||||
spin_lock_bh(&psta->lock);
|
||||
psta->state &= ~_FW_LINKED;
|
||||
spin_unlock_bh(&psta->lock);
|
||||
|
@ -1826,7 +1820,6 @@ int rtw_sta_flush(struct adapter *padapter)
|
|||
}
|
||||
spin_unlock_bh(&pstapriv->asoc_list_lock);
|
||||
|
||||
|
||||
issue_deauth(padapter, bc_addr, WLAN_REASON_DEAUTH_LEAVING);
|
||||
|
||||
associated_clients_update(padapter, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue