forked from Minki/linux
staging: rtl8188eu: core: rtw_mlme: remove space before ','
Fix coding style error by removing spaces before ',' as suggested by checkpatch.pl script. Signed-off-by: Sunil Shahu <shshahu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9e7e78d829
commit
e1d0bcedfb
@ -161,7 +161,7 @@ exit:
|
||||
return pnetwork;
|
||||
}
|
||||
|
||||
static void _rtw_free_network(struct mlme_priv *pmlmepriv , struct wlan_network *pnetwork, u8 isfreeall)
|
||||
static void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfreeall)
|
||||
{
|
||||
u32 curr_time, delta_time;
|
||||
u32 lifetime = SCANQUEUE_LIFETIME;
|
||||
@ -582,7 +582,7 @@ static int rtw_is_desired_network(struct adapter *adapter, struct wlan_network *
|
||||
}
|
||||
|
||||
/* TODO: Perry: For Power Management */
|
||||
void rtw_atimdone_event_callback(struct adapter *adapter , u8 *pbuf)
|
||||
void rtw_atimdone_event_callback(struct adapter *adapter, u8 *pbuf)
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("receive atimdone_evet\n"));
|
||||
return;
|
||||
@ -615,7 +615,7 @@ void rtw_survey_event_callback(struct adapter *adapter, u8 *pbuf)
|
||||
spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
|
||||
ibss_wlan = rtw_find_network(&pmlmepriv->scanned_queue, pnetwork->MacAddress);
|
||||
if (ibss_wlan) {
|
||||
memcpy(ibss_wlan->network.IEs , pnetwork->IEs, 8);
|
||||
memcpy(ibss_wlan->network.IEs, pnetwork->IEs, 8);
|
||||
spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
|
||||
goto exit;
|
||||
}
|
||||
@ -1383,7 +1383,7 @@ void _rtw_join_timeout_handler (unsigned long data)
|
||||
DBG_88E("%s try another roaming\n", __func__);
|
||||
do_join_r = rtw_do_join(adapter);
|
||||
if (_SUCCESS != do_join_r) {
|
||||
DBG_88E("%s roaming do_join return %d\n", __func__ , do_join_r);
|
||||
DBG_88E("%s roaming do_join return %d\n", __func__, do_join_r);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
@ -1998,7 +1998,7 @@ unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_
|
||||
p = rtw_get_ie(in_ie+12, _HT_ADD_INFO_IE_, &ielen, in_len-12);
|
||||
if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) {
|
||||
out_len = *pout_len;
|
||||
rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2 , pout_len);
|
||||
rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2, pout_len);
|
||||
}
|
||||
}
|
||||
return phtpriv->ht_option;
|
||||
|
Loading…
Reference in New Issue
Block a user