diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2013-10-23 23:31:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 12:10:15 -0400 |
commit | ac049e3085fd583d8f39cc29d5d73b5ca399758b (patch) | |
tree | 493347510438c47d49154b5648896d120aa09cda | |
parent | c4af455f811e82da89427db5936865eb10fd89fe (diff) |
staging: r8188eu: Fix sparse warnings in rtw_mlme_ext.c
Sparse displays the following:
CHECK drivers/staging/rtl8188eu/core/rtw_mlme_ext.c
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:1874:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:1874:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:1874:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2221:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2221:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2221:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2583:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2583:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2583:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2750:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2750:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:2750:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3002:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3002:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3002:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3197:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3197:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3197:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3311:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3311:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3311:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3563:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3563:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:3563:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4522:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4522:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4522:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4750:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4750:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4750:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4906:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4906:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:4906:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5040:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5040:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5040:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5184:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5184:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5184:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5322:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5322:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5322:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5654:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5654:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5654:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5769:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5769:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5769:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5894:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5894:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5894:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5996:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5996:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:5996:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6066:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6066:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6066:15: got restricted __le16 *<noident>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6200:15: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6200:15: expected unsigned short *fctrl
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c:6200:15: got restricted __le16 *<noident>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index 9982dd0e2060..7ab5ff039c88 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | |||
@@ -1852,7 +1852,7 @@ void issue_p2p_GO_request(struct adapter *padapter, u8 *raddr) | |||
1852 | struct pkt_attrib *pattrib; | 1852 | struct pkt_attrib *pattrib; |
1853 | unsigned char *pframe; | 1853 | unsigned char *pframe; |
1854 | struct rtw_ieee80211_hdr *pwlanhdr; | 1854 | struct rtw_ieee80211_hdr *pwlanhdr; |
1855 | unsigned short *fctrl; | 1855 | __le16 *fctrl; |
1856 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 1856 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
1857 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 1857 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
1858 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 1858 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -2199,7 +2199,7 @@ static void issue_p2p_GO_response(struct adapter *padapter, u8 *raddr, u8 *frame | |||
2199 | struct pkt_attrib *pattrib; | 2199 | struct pkt_attrib *pattrib; |
2200 | unsigned char *pframe; | 2200 | unsigned char *pframe; |
2201 | struct rtw_ieee80211_hdr *pwlanhdr; | 2201 | struct rtw_ieee80211_hdr *pwlanhdr; |
2202 | unsigned short *fctrl; | 2202 | __le16 *fctrl; |
2203 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 2203 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
2204 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 2204 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
2205 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 2205 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -2561,7 +2561,7 @@ static void issue_p2p_GO_confirm(struct adapter *padapter, u8 *raddr, u8 result) | |||
2561 | struct pkt_attrib *pattrib; | 2561 | struct pkt_attrib *pattrib; |
2562 | unsigned char *pframe; | 2562 | unsigned char *pframe; |
2563 | struct rtw_ieee80211_hdr *pwlanhdr; | 2563 | struct rtw_ieee80211_hdr *pwlanhdr; |
2564 | unsigned short *fctrl; | 2564 | __le16 *fctrl; |
2565 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 2565 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
2566 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 2566 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
2567 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 2567 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -2729,7 +2729,7 @@ void issue_p2p_invitation_request(struct adapter *padapter, u8 *raddr) | |||
2729 | struct pkt_attrib *pattrib; | 2729 | struct pkt_attrib *pattrib; |
2730 | unsigned char *pframe; | 2730 | unsigned char *pframe; |
2731 | struct rtw_ieee80211_hdr *pwlanhdr; | 2731 | struct rtw_ieee80211_hdr *pwlanhdr; |
2732 | unsigned short *fctrl; | 2732 | __le16 *fctrl; |
2733 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 2733 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
2734 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 2734 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
2735 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 2735 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -2981,7 +2981,7 @@ void issue_p2p_invitation_response(struct adapter *padapter, u8 *raddr, u8 dialo | |||
2981 | struct pkt_attrib *pattrib; | 2981 | struct pkt_attrib *pattrib; |
2982 | unsigned char *pframe; | 2982 | unsigned char *pframe; |
2983 | struct rtw_ieee80211_hdr *pwlanhdr; | 2983 | struct rtw_ieee80211_hdr *pwlanhdr; |
2984 | unsigned short *fctrl; | 2984 | __le16 *fctrl; |
2985 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 2985 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
2986 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 2986 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
2987 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 2987 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -3175,7 +3175,7 @@ void issue_p2p_provision_request(struct adapter *padapter, u8 *pssid, u8 ussidle | |||
3175 | struct pkt_attrib *pattrib; | 3175 | struct pkt_attrib *pattrib; |
3176 | unsigned char *pframe; | 3176 | unsigned char *pframe; |
3177 | struct rtw_ieee80211_hdr *pwlanhdr; | 3177 | struct rtw_ieee80211_hdr *pwlanhdr; |
3178 | unsigned short *fctrl; | 3178 | __le16 *fctrl; |
3179 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 3179 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
3180 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 3180 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
3181 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); | 3181 | struct wifidirect_info *pwdinfo = &(padapter->wdinfo); |
@@ -3283,7 +3283,7 @@ void issue_probersp_p2p(struct adapter *padapter, unsigned char *da) | |||
3283 | struct pkt_attrib *pattrib; | 3283 | struct pkt_attrib *pattrib; |
3284 | unsigned char *pframe; | 3284 | unsigned char *pframe; |
3285 | struct rtw_ieee80211_hdr *pwlanhdr; | 3285 | struct rtw_ieee80211_hdr *pwlanhdr; |
3286 | unsigned short *fctrl; | 3286 | __le16 *fctrl; |
3287 | unsigned char *mac; | 3287 | unsigned char *mac; |
3288 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 3288 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
3289 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 3289 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
@@ -3534,7 +3534,7 @@ static int _issue_probereq_p2p(struct adapter *padapter, u8 *da, int wait_ack) | |||
3534 | struct pkt_attrib *pattrib; | 3534 | struct pkt_attrib *pattrib; |
3535 | unsigned char *pframe; | 3535 | unsigned char *pframe; |
3536 | struct rtw_ieee80211_hdr *pwlanhdr; | 3536 | struct rtw_ieee80211_hdr *pwlanhdr; |
3537 | unsigned short *fctrl; | 3537 | __le16 *fctrl; |
3538 | unsigned char *mac; | 3538 | unsigned char *mac; |
3539 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 3539 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
3540 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 3540 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
@@ -4484,7 +4484,7 @@ void issue_beacon(struct adapter *padapter, int timeout_ms) | |||
4484 | struct pkt_attrib *pattrib; | 4484 | struct pkt_attrib *pattrib; |
4485 | unsigned char *pframe; | 4485 | unsigned char *pframe; |
4486 | struct rtw_ieee80211_hdr *pwlanhdr; | 4486 | struct rtw_ieee80211_hdr *pwlanhdr; |
4487 | unsigned short *fctrl; | 4487 | __le16 *fctrl; |
4488 | unsigned int rate_len; | 4488 | unsigned int rate_len; |
4489 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 4489 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
4490 | #if defined(CONFIG_88EU_AP_MODE) | 4490 | #if defined(CONFIG_88EU_AP_MODE) |
@@ -4713,7 +4713,7 @@ void issue_probersp(struct adapter *padapter, unsigned char *da, u8 is_valid_p2p | |||
4713 | struct pkt_attrib *pattrib; | 4713 | struct pkt_attrib *pattrib; |
4714 | unsigned char *pframe; | 4714 | unsigned char *pframe; |
4715 | struct rtw_ieee80211_hdr *pwlanhdr; | 4715 | struct rtw_ieee80211_hdr *pwlanhdr; |
4716 | unsigned short *fctrl; | 4716 | __le16 *fctrl; |
4717 | unsigned char *mac, *bssid; | 4717 | unsigned char *mac, *bssid; |
4718 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 4718 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
4719 | #if defined (CONFIG_88EU_AP_MODE) | 4719 | #if defined (CONFIG_88EU_AP_MODE) |
@@ -4876,7 +4876,7 @@ static int _issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *ps | |||
4876 | struct pkt_attrib *pattrib; | 4876 | struct pkt_attrib *pattrib; |
4877 | unsigned char *pframe; | 4877 | unsigned char *pframe; |
4878 | struct rtw_ieee80211_hdr *pwlanhdr; | 4878 | struct rtw_ieee80211_hdr *pwlanhdr; |
4879 | unsigned short *fctrl; | 4879 | __le16 *fctrl; |
4880 | unsigned char *mac; | 4880 | unsigned char *mac; |
4881 | unsigned char bssrate[NumRates]; | 4881 | unsigned char bssrate[NumRates]; |
4882 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 4882 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
@@ -5013,7 +5013,7 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short | |||
5013 | struct pkt_attrib *pattrib; | 5013 | struct pkt_attrib *pattrib; |
5014 | unsigned char *pframe; | 5014 | unsigned char *pframe; |
5015 | struct rtw_ieee80211_hdr *pwlanhdr; | 5015 | struct rtw_ieee80211_hdr *pwlanhdr; |
5016 | unsigned short *fctrl; | 5016 | __le16 *fctrl; |
5017 | unsigned int val32; | 5017 | unsigned int val32; |
5018 | u16 val16; | 5018 | u16 val16; |
5019 | #ifdef CONFIG_88EU_AP_MODE | 5019 | #ifdef CONFIG_88EU_AP_MODE |
@@ -5153,7 +5153,7 @@ void issue_asocrsp(struct adapter *padapter, unsigned short status, struct sta_i | |||
5153 | struct pkt_attrib *pattrib; | 5153 | struct pkt_attrib *pattrib; |
5154 | unsigned char *pbuf, *pframe; | 5154 | unsigned char *pbuf, *pframe; |
5155 | unsigned short val; | 5155 | unsigned short val; |
5156 | unsigned short *fctrl; | 5156 | __le16 *fctrl; |
5157 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 5157 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
5158 | struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); | 5158 | struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); |
5159 | struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; | 5159 | struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; |
@@ -5290,7 +5290,7 @@ void issue_assocreq(struct adapter *padapter) | |||
5290 | struct pkt_attrib *pattrib; | 5290 | struct pkt_attrib *pattrib; |
5291 | unsigned char *pframe, *p; | 5291 | unsigned char *pframe, *p; |
5292 | struct rtw_ieee80211_hdr *pwlanhdr; | 5292 | struct rtw_ieee80211_hdr *pwlanhdr; |
5293 | unsigned short *fctrl; | 5293 | __le16 *fctrl; |
5294 | __le16 le_tmp; | 5294 | __le16 le_tmp; |
5295 | unsigned int i, j, ie_len, index = 0; | 5295 | unsigned int i, j, ie_len, index = 0; |
5296 | unsigned char rf_type, bssrate[NumRates], sta_bssrate[NumRates]; | 5296 | unsigned char rf_type, bssrate[NumRates], sta_bssrate[NumRates]; |
@@ -5625,7 +5625,7 @@ static int _issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned | |||
5625 | struct pkt_attrib *pattrib; | 5625 | struct pkt_attrib *pattrib; |
5626 | unsigned char *pframe; | 5626 | unsigned char *pframe; |
5627 | struct rtw_ieee80211_hdr *pwlanhdr; | 5627 | struct rtw_ieee80211_hdr *pwlanhdr; |
5628 | unsigned short *fctrl; | 5628 | __le16 *fctrl; |
5629 | struct xmit_priv *pxmitpriv; | 5629 | struct xmit_priv *pxmitpriv; |
5630 | struct mlme_ext_priv *pmlmeext; | 5630 | struct mlme_ext_priv *pmlmeext; |
5631 | struct mlme_ext_info *pmlmeinfo; | 5631 | struct mlme_ext_info *pmlmeinfo; |
@@ -5740,7 +5740,8 @@ static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 | |||
5740 | struct pkt_attrib *pattrib; | 5740 | struct pkt_attrib *pattrib; |
5741 | unsigned char *pframe; | 5741 | unsigned char *pframe; |
5742 | struct rtw_ieee80211_hdr *pwlanhdr; | 5742 | struct rtw_ieee80211_hdr *pwlanhdr; |
5743 | unsigned short *fctrl, *qc; | 5743 | __le16 *fctrl; |
5744 | unsigned short *qc; | ||
5744 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 5745 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
5745 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 5746 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
5746 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); | 5747 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); |
@@ -5860,7 +5861,7 @@ static int _issue_deauth(struct adapter *padapter, unsigned char *da, unsigned s | |||
5860 | struct pkt_attrib *pattrib; | 5861 | struct pkt_attrib *pattrib; |
5861 | unsigned char *pframe; | 5862 | unsigned char *pframe; |
5862 | struct rtw_ieee80211_hdr *pwlanhdr; | 5863 | struct rtw_ieee80211_hdr *pwlanhdr; |
5863 | unsigned short *fctrl; | 5864 | __le16 *fctrl; |
5864 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 5865 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
5865 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 5866 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
5866 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); | 5867 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); |
@@ -5972,7 +5973,7 @@ void issue_action_spct_ch_switch (struct adapter *padapter, u8 *ra, u8 new_ch, u | |||
5972 | struct pkt_attrib *pattrib; | 5973 | struct pkt_attrib *pattrib; |
5973 | unsigned char *pframe; | 5974 | unsigned char *pframe; |
5974 | struct rtw_ieee80211_hdr *pwlanhdr; | 5975 | struct rtw_ieee80211_hdr *pwlanhdr; |
5975 | unsigned short *fctrl; | 5976 | __le16 *fctrl; |
5976 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 5977 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
5977 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 5978 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
5978 | 5979 | ||
@@ -6040,7 +6041,7 @@ void issue_action_BA(struct adapter *padapter, unsigned char *raddr, unsigned ch | |||
6040 | struct pkt_attrib *pattrib; | 6041 | struct pkt_attrib *pattrib; |
6041 | u8 *pframe; | 6042 | u8 *pframe; |
6042 | struct rtw_ieee80211_hdr *pwlanhdr; | 6043 | struct rtw_ieee80211_hdr *pwlanhdr; |
6043 | u16 *fctrl; | 6044 | __le16 *fctrl; |
6044 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 6045 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
6045 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); | 6046 | struct mlme_ext_priv *pmlmeext = &(padapter->mlmeextpriv); |
6046 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); | 6047 | struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); |
@@ -6162,7 +6163,7 @@ static void issue_action_BSSCoexistPacket(struct adapter *padapter) | |||
6162 | struct pkt_attrib *pattrib; | 6163 | struct pkt_attrib *pattrib; |
6163 | unsigned char *pframe; | 6164 | unsigned char *pframe; |
6164 | struct rtw_ieee80211_hdr *pwlanhdr; | 6165 | struct rtw_ieee80211_hdr *pwlanhdr; |
6165 | unsigned short *fctrl; | 6166 | __le16 *fctrl; |
6166 | struct wlan_network *pnetwork = NULL; | 6167 | struct wlan_network *pnetwork = NULL; |
6167 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); | 6168 | struct xmit_priv *pxmitpriv = &(padapter->xmitpriv); |
6168 | struct mlme_priv *pmlmepriv = &padapter->mlmepriv; | 6169 | struct mlme_priv *pmlmepriv = &padapter->mlmepriv; |