Commit 22220320 authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: Declare validate_recv_*_frame() static

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ff516e70
...@@ -1111,9 +1111,7 @@ int sta2ap_data_frame(struct rtw_adapter *adapter, ...@@ -1111,9 +1111,7 @@ int sta2ap_data_frame(struct rtw_adapter *adapter,
return ret; return ret;
} }
int validate_recv_ctrl_frame(struct rtw_adapter *padapter, static int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
struct recv_frame *precv_frame);
int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
struct recv_frame *precv_frame) struct recv_frame *precv_frame)
{ {
#ifdef CONFIG_8723AU_AP_MODE #ifdef CONFIG_8723AU_AP_MODE
...@@ -1259,9 +1257,7 @@ int validate_recv_ctrl_frame(struct rtw_adapter *padapter, ...@@ -1259,9 +1257,7 @@ int validate_recv_ctrl_frame(struct rtw_adapter *padapter,
struct recv_frame* recvframe_chk_defrag23a(struct rtw_adapter *padapter, struct recv_frame* recvframe_chk_defrag23a(struct rtw_adapter *padapter,
struct recv_frame *precv_frame); struct recv_frame *precv_frame);
int validate_recv_mgnt_frame(struct rtw_adapter *padapter, static int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
struct recv_frame *precv_frame);
int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
struct recv_frame *precv_frame) struct recv_frame *precv_frame)
{ {
struct sta_info *psta; struct sta_info *psta;
...@@ -1308,9 +1304,7 @@ int validate_recv_mgnt_frame(struct rtw_adapter *padapter, ...@@ -1308,9 +1304,7 @@ int validate_recv_mgnt_frame(struct rtw_adapter *padapter,
return _SUCCESS; return _SUCCESS;
} }
int validate_recv_data_frame(struct rtw_adapter *adapter, static int validate_recv_data_frame(struct rtw_adapter *adapter,
struct recv_frame *precv_frame);
int validate_recv_data_frame(struct rtw_adapter *adapter,
struct recv_frame *precv_frame) struct recv_frame *precv_frame)
{ {
u8 bretry; u8 bretry;
......
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