Commit 8eca2e5f authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Rename _rtw_find_network() to rtw_find_network()

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 07e49db0
...@@ -239,7 +239,7 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network * ...@@ -239,7 +239,7 @@ void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *
Shall be calle under atomic context... to avoid possible racing condition... Shall be calle 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;
struct wlan_network *pnetwork = NULL; struct wlan_network *pnetwork = NULL;
...@@ -360,18 +360,6 @@ static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv, ...@@ -360,18 +360,6 @@ static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
_rtw_free_network_nolock(pmlmepriv, pnetwork); _rtw_free_network_nolock(pmlmepriv, pnetwork);
} }
/*
return the wlan_network with the matching addr
Shall be calle under atomic context... to avoid possible racing condition...
*/
struct wlan_network *rtw_find_network(struct __queue *scanned_queue, u8 *addr)
{
struct wlan_network *pnetwork = _rtw_find_network(scanned_queue, addr);
return pnetwork;
}
int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork) int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork)
{ {
int ret = true; int ret = true;
......
...@@ -581,16 +581,11 @@ void _rtw_free_network(struct mlme_priv *pmlmepriv, ...@@ -581,16 +581,11 @@ void _rtw_free_network(struct mlme_priv *pmlmepriv,
void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
struct wlan_network *pnetwork); struct wlan_network *pnetwork);
struct wlan_network *_rtw_find_network(struct __queue *scanned_queue, u8 *addr);
int rtw_if_up(struct adapter *padapter); int rtw_if_up(struct adapter *padapter);
u8 *rtw_get_capability_from_ie(u8 *ie); u8 *rtw_get_capability_from_ie(u8 *ie);
u8 *rtw_get_beacon_interval_from_ie(u8 *ie); u8 *rtw_get_beacon_interval_from_ie(u8 *ie);
void rtw_joinbss_reset(struct adapter *padapter); void rtw_joinbss_reset(struct adapter *padapter);
unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie,
......
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