Commit de109778 authored by Gargi Sharma's avatar Gargi Sharma Committed by Greg Kroah-Hartman

staging: rtl8188eu: Fix block comments warning

Align * on each line and move final */ to a new line, to
conform to the kernel coding style for block comments.
Signed-off-by: default avatarGargi Sharma <gs051095@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e31447f9
......@@ -180,10 +180,10 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *
}
/*
return the wlan_network with the matching addr
Shall be calle under atomic context... to avoid possible racing condition...
*/
* return the wlan_network with the matching addr
*
* Shall be called under atomic context... to avoid possible racing condition...
*/
struct wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *addr)
{
struct list_head *phead, *plist;
......@@ -407,8 +407,8 @@ static void update_current_network(struct adapter *adapter, struct wlan_bssid_ex
}
/*
Caller must hold pmlmepriv->lock first.
*/
* Caller must hold pmlmepriv->lock first.
*/
void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *target)
{
struct list_head *plist, *phead;
......@@ -433,7 +433,8 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
plist = plist->next;
}
/* If we didn't find a match, then get a new network slot to initialize
* with this beacon's information */
* with this beacon's information
*/
if (phead == plist) {
if (list_empty(&(pmlmepriv->free_bss_pool.queue))) {
/* If there are no more slots, expire the oldest */
......@@ -725,8 +726,8 @@ static void free_scanqueue(struct mlme_priv *pmlmepriv)
}
/*
*rtw_free_assoc_resources: the caller has to lock pmlmepriv->lock
*/
* rtw_free_assoc_resources: the caller has to lock pmlmepriv->lock
*/
void rtw_free_assoc_resources(struct adapter *adapter)
{
struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
......@@ -737,8 +738,8 @@ void rtw_free_assoc_resources(struct adapter *adapter)
}
/*
*rtw_free_assoc_resources_locked: the caller has to lock pmlmepriv->lock
*/
* rtw_free_assoc_resources_locked: the caller has to lock pmlmepriv->lock
*/
void rtw_free_assoc_resources_locked(struct adapter *adapter)
{
struct wlan_network *pwlan = NULL;
......@@ -788,8 +789,8 @@ void rtw_free_assoc_resources_locked(struct adapter *adapter)
}
/*
*rtw_indicate_connect: the caller has to lock pmlmepriv->lock
*/
* rtw_indicate_connect: the caller has to lock pmlmepriv->lock
*/
void rtw_indicate_connect(struct adapter *padapter)
{
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
......@@ -814,8 +815,8 @@ void rtw_indicate_connect(struct adapter *padapter)
}
/*
*rtw_indicate_disconnect: the caller has to lock pmlmepriv->lock
*/
* rtw_indicate_disconnect: the caller has to lock pmlmepriv->lock
*/
void rtw_indicate_disconnect(struct adapter *padapter)
{
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
......@@ -1337,9 +1338,9 @@ void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf)
}
/*
* _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss
* @adapter: pointer to struct adapter structure
*/
* _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss
* @adapter: pointer to struct adapter structure
*/
void _rtw_join_timeout_handler (unsigned long data)
{
struct adapter *adapter = (struct adapter *)data;
......@@ -1379,9 +1380,9 @@ void _rtw_join_timeout_handler (unsigned long data)
}
/*
* rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey
* @adapter: pointer to struct adapter structure
*/
* rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey
* @adapter: pointer to struct adapter structure
*/
void rtw_scan_timeout_handler (unsigned long data)
{
struct adapter *adapter = (struct adapter *)data;
......@@ -1436,10 +1437,10 @@ void rtw_dynamic_check_timer_handlder(unsigned long data)
#define RTW_SCAN_RESULT_EXPIRE 2000
/*
* Select a new join candidate from the original @param candidate and @param competitor
* @return true: candidate is updated
* @return false: candidate is not updated
*/
* Select a new join candidate from the original @param candidate and @param competitor
* @return true: candidate is updated
* @return false: candidate is not updated
*/
static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv
, struct wlan_network **candidate, struct wlan_network *competitor)
{
......@@ -1490,11 +1491,11 @@ static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv
}
/*
Calling context:
The caller of the sub-routine will be in critical section...
The caller must hold the following spinlock
pmlmepriv->lock
*/
* Calling context:
* The caller of the sub-routine will be in critical section...
* The caller must hold the following spinlock
* pmlmepriv->lock
*/
int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment