mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 22:13:41 +00:00
rtl8188eu: Remove a few more W=1 warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
7d0f8ec86a
commit
5b999734d0
2 changed files with 8 additions and 8 deletions
|
@ -920,7 +920,7 @@ _func_exit_;
|
||||||
/* (3) WMM */
|
/* (3) WMM */
|
||||||
/* (4) HT */
|
/* (4) HT */
|
||||||
/* (5) others */
|
/* (5) others */
|
||||||
int rtw_is_desired_network(_adapter *adapter, struct wlan_network *pnetwork)
|
static int rtw_is_desired_network(_adapter *adapter, struct wlan_network *pnetwork)
|
||||||
{
|
{
|
||||||
struct security_priv *psecuritypriv = &adapter->securitypriv;
|
struct security_priv *psecuritypriv = &adapter->securitypriv;
|
||||||
struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
|
struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
|
||||||
|
@ -3268,7 +3268,7 @@ unsigned int rtw_restructure_ht_ie(_adapter *padapter, u8 *in_ie, u8 *out_ie, ui
|
||||||
{
|
{
|
||||||
u32 ielen, out_len;
|
u32 ielen, out_len;
|
||||||
HT_CAP_AMPDU_FACTOR max_rx_ampdu_factor;
|
HT_CAP_AMPDU_FACTOR max_rx_ampdu_factor;
|
||||||
unsigned char *p, *pframe;
|
unsigned char *p;
|
||||||
struct rtw_ieee80211_ht_cap ht_capie;
|
struct rtw_ieee80211_ht_cap ht_capie;
|
||||||
unsigned char WMM_IE[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01, 0x00};
|
unsigned char WMM_IE[] = {0x00, 0x50, 0xf2, 0x02, 0x00, 0x01, 0x00};
|
||||||
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
|
||||||
|
@ -3285,7 +3285,7 @@ unsigned int rtw_restructure_ht_ie(_adapter *padapter, u8 *in_ie, u8 *out_ie, ui
|
||||||
if (pqospriv->qos_option == 0)
|
if (pqospriv->qos_option == 0)
|
||||||
{
|
{
|
||||||
out_len = *pout_len;
|
out_len = *pout_len;
|
||||||
pframe = rtw_set_ie(out_ie+out_len, _VENDOR_SPECIFIC_IE_,
|
rtw_set_ie(out_ie+out_len, _VENDOR_SPECIFIC_IE_,
|
||||||
_WMM_IE_Length_, WMM_IE, pout_len);
|
_WMM_IE_Length_, WMM_IE, pout_len);
|
||||||
|
|
||||||
pqospriv->qos_option = 1;
|
pqospriv->qos_option = 1;
|
||||||
|
@ -3331,7 +3331,7 @@ unsigned int rtw_restructure_ht_ie(_adapter *padapter, u8 *in_ie, u8 *out_ie, ui
|
||||||
ht_capie.ampdu_params_info |= (IEEE80211_HT_CAP_AMPDU_DENSITY&0x00);
|
ht_capie.ampdu_params_info |= (IEEE80211_HT_CAP_AMPDU_DENSITY&0x00);
|
||||||
|
|
||||||
|
|
||||||
pframe = rtw_set_ie(out_ie+out_len, _HT_CAPABILITY_IE_,
|
rtw_set_ie(out_ie+out_len, _HT_CAPABILITY_IE_,
|
||||||
sizeof(struct rtw_ieee80211_ht_cap), (unsigned char*)&ht_capie, pout_len);
|
sizeof(struct rtw_ieee80211_ht_cap), (unsigned char*)&ht_capie, pout_len);
|
||||||
|
|
||||||
|
|
||||||
|
@ -3345,7 +3345,7 @@ unsigned int rtw_restructure_ht_ie(_adapter *padapter, u8 *in_ie, u8 *out_ie, ui
|
||||||
if (p && (ielen==sizeof(struct ieee80211_ht_addt_info)))
|
if (p && (ielen==sizeof(struct ieee80211_ht_addt_info)))
|
||||||
{
|
{
|
||||||
out_len = *pout_len;
|
out_len = *pout_len;
|
||||||
pframe = rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2 , pout_len);
|
rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2 , pout_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3250,7 +3250,7 @@ static int recv_indicatepkts_in_order(_adapter *padapter, struct recv_reorder_ct
|
||||||
return bPktInBuf;
|
return bPktInBuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
int recv_indicatepkt_reorder(_adapter *padapter, union recv_frame *prframe)
|
static int recv_indicatepkt_reorder(_adapter *padapter, union recv_frame *prframe)
|
||||||
{
|
{
|
||||||
_irqL irql;
|
_irqL irql;
|
||||||
int retval = _SUCCESS;
|
int retval = _SUCCESS;
|
||||||
|
|
Loading…
Reference in a new issue