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 * ...@@ -180,10 +180,10 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *
} }
/* /*
return the wlan_network with the matching addr * return the wlan_network with the matching addr
*
Shall be calle under atomic context... to avoid possible racing condition... * Shall be called under atomic context... to avoid possible racing condition...
*/ */
struct wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *addr) struct wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *addr)
{ {
struct list_head *phead, *plist; struct list_head *phead, *plist;
...@@ -407,8 +407,8 @@ static void update_current_network(struct adapter *adapter, struct wlan_bssid_ex ...@@ -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) void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *target)
{ {
struct list_head *plist, *phead; struct list_head *plist, *phead;
...@@ -433,7 +433,8 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t ...@@ -433,7 +433,8 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
plist = plist->next; plist = plist->next;
} }
/* If we didn't find a match, then get a new network slot to initialize /* 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 (phead == plist) {
if (list_empty(&(pmlmepriv->free_bss_pool.queue))) { if (list_empty(&(pmlmepriv->free_bss_pool.queue))) {
/* If there are no more slots, expire the oldest */ /* If there are no more slots, expire the oldest */
...@@ -725,8 +726,8 @@ static void free_scanqueue(struct mlme_priv *pmlmepriv) ...@@ -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) void rtw_free_assoc_resources(struct adapter *adapter)
{ {
struct mlme_priv *pmlmepriv = &adapter->mlmepriv; struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
...@@ -737,8 +738,8 @@ void rtw_free_assoc_resources(struct adapter *adapter) ...@@ -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) void rtw_free_assoc_resources_locked(struct adapter *adapter)
{ {
struct wlan_network *pwlan = NULL; struct wlan_network *pwlan = NULL;
...@@ -788,8 +789,8 @@ void rtw_free_assoc_resources_locked(struct adapter *adapter) ...@@ -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) void rtw_indicate_connect(struct adapter *padapter)
{ {
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
...@@ -814,8 +815,8 @@ void rtw_indicate_connect(struct adapter *padapter) ...@@ -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) void rtw_indicate_disconnect(struct adapter *padapter)
{ {
struct mlme_priv *pmlmepriv = &padapter->mlmepriv; struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
...@@ -1337,9 +1338,9 @@ void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf) ...@@ -1337,9 +1338,9 @@ void rtw_cpwm_event_callback(struct adapter *padapter, u8 *pbuf)
} }
/* /*
* _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss * _rtw_join_timeout_handler - Timeout/faliure handler for CMD JoinBss
* @adapter: pointer to struct adapter structure * @adapter: pointer to struct adapter structure
*/ */
void _rtw_join_timeout_handler (unsigned long data) void _rtw_join_timeout_handler (unsigned long data)
{ {
struct adapter *adapter = (struct adapter *)data; struct adapter *adapter = (struct adapter *)data;
...@@ -1379,9 +1380,9 @@ void _rtw_join_timeout_handler (unsigned long data) ...@@ -1379,9 +1380,9 @@ void _rtw_join_timeout_handler (unsigned long data)
} }
/* /*
* rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey * rtw_scan_timeout_handler - Timeout/Faliure handler for CMD SiteSurvey
* @adapter: pointer to struct adapter structure * @adapter: pointer to struct adapter structure
*/ */
void rtw_scan_timeout_handler (unsigned long data) void rtw_scan_timeout_handler (unsigned long data)
{ {
struct adapter *adapter = (struct adapter *)data; struct adapter *adapter = (struct adapter *)data;
...@@ -1436,10 +1437,10 @@ void rtw_dynamic_check_timer_handlder(unsigned long data) ...@@ -1436,10 +1437,10 @@ void rtw_dynamic_check_timer_handlder(unsigned long data)
#define RTW_SCAN_RESULT_EXPIRE 2000 #define RTW_SCAN_RESULT_EXPIRE 2000
/* /*
* Select a new join candidate from the original @param candidate and @param competitor * Select a new join candidate from the original @param candidate and @param competitor
* @return true: candidate is updated * @return true: candidate is updated
* @return false: candidate is not updated * @return false: candidate is not updated
*/ */
static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv
, struct wlan_network **candidate, struct wlan_network *competitor) , struct wlan_network **candidate, struct wlan_network *competitor)
{ {
...@@ -1490,11 +1491,11 @@ static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv ...@@ -1490,11 +1491,11 @@ static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv
} }
/* /*
Calling context: * Calling context:
The caller of the sub-routine will be in critical section... * The caller of the sub-routine will be in critical section...
The caller must hold the following spinlock * The caller must hold the following spinlock
pmlmepriv->lock * pmlmepriv->lock
*/ */
int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv) 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