staging: rtl8723au: Fold _rtw_find_network23a() into rtw_find_network23a()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8c47af2280
commit
f56d96857b
|
@ -186,7 +186,7 @@ void _rtw_free_network23a_nolock23a(struct mlme_priv *pmlmepriv,
|
|||
Shall be calle under atomic context... to avoid possible racing condition...
|
||||
*/
|
||||
struct wlan_network *
|
||||
_rtw_find_network23a(struct rtw_queue *scanned_queue, u8 *addr)
|
||||
rtw_find_network23a(struct rtw_queue *scanned_queue, u8 *addr)
|
||||
{
|
||||
struct list_head *phead, *plist;
|
||||
struct wlan_network *pnetwork = NULL;
|
||||
|
@ -358,21 +358,6 @@ static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
|
|||
_rtw_free_network23a_nolock23a(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_network23a(struct rtw_queue *scanned_queue, u8 *addr)
|
||||
{
|
||||
struct wlan_network *pnetwork;
|
||||
|
||||
pnetwork = _rtw_find_network23a(scanned_queue, addr);
|
||||
|
||||
return pnetwork;
|
||||
}
|
||||
|
||||
int rtw_is_same_ibss23a(struct rtw_adapter *adapter,
|
||||
struct wlan_network *pnetwork)
|
||||
{
|
||||
|
|
|
@ -459,8 +459,6 @@ struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv);
|
|||
void _rtw_free_network23a_nolock23a(struct mlme_priv *pmlmepriv,
|
||||
struct wlan_network *pnetwork);
|
||||
|
||||
struct wlan_network *_rtw_find_network23a(struct rtw_queue *scanned_queue, u8 *addr);
|
||||
|
||||
int rtw_if_up23a(struct rtw_adapter *padapter);
|
||||
|
||||
int rtw_linked_check(struct rtw_adapter *padapter);
|
||||
|
|
Loading…
Reference in a new issue