mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-19 11:33:05 +00:00
rtl8188eu: Fix all W=1 warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5c8ff88003
commit
fb786d0283
29 changed files with 217 additions and 507 deletions
|
@ -2262,7 +2262,11 @@ int update_sta_support_rate(_adapter *padapter, u8* pvar_ie, uint var_ie_len, in
|
|||
void process_addba_req(_adapter *padapter, u8 *paddba_req, u8 *addr)
|
||||
{
|
||||
struct sta_info *psta;
|
||||
u16 tid, start_seq, param;
|
||||
u16 tid;
|
||||
#ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
|
||||
u16 start_seq;
|
||||
#endif
|
||||
u16 param;
|
||||
struct recv_reorder_ctrl *preorder_ctrl;
|
||||
struct sta_priv *pstapriv = &padapter->stapriv;
|
||||
struct ADDBA_request *preq = (struct ADDBA_request*)paddba_req;
|
||||
|
@ -2271,9 +2275,10 @@ void process_addba_req(_adapter *padapter, u8 *paddba_req, u8 *addr)
|
|||
|
||||
psta = rtw_get_stainfo(pstapriv, addr);
|
||||
|
||||
if (psta)
|
||||
{
|
||||
if (psta) {
|
||||
#ifdef CONFIG_UPDATE_INDICATE_SEQ_WHILE_PROCESS_ADDBA_REQ
|
||||
start_seq = le16_to_cpu(preq->BA_starting_seqctrl) >> 4;
|
||||
#endif
|
||||
|
||||
param = le16_to_cpu(preq->BA_para_set);
|
||||
tid = (param>>2)&0x0f;
|
||||
|
@ -2292,7 +2297,6 @@ void process_addba_req(_adapter *padapter, u8 *paddba_req, u8 *addr)
|
|||
|
||||
preorder_ctrl->enable =(pmlmeinfo->bAcceptAddbaReq == true)? true :false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue