mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove macro RTW_GET_LE16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
d6aed151f2
commit
6ba33b6e48
4 changed files with 9 additions and 10 deletions
|
@ -1047,7 +1047,7 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)
|
|||
goto asoc_class2_error;
|
||||
}
|
||||
|
||||
capab_info = RTW_GET_LE16(pframe + WLAN_HDR_A3_LEN);
|
||||
capab_info = get_unaligned_le16(pframe + WLAN_HDR_A3_LEN);
|
||||
|
||||
left = pkt_len - (IEEE80211_3ADDR_LEN + ie_offset);
|
||||
pos = pframe + (IEEE80211_3ADDR_LEN + ie_offset);
|
||||
|
@ -1789,7 +1789,7 @@ unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_fra
|
|||
issue_action_BA(padapter, addr, RTW_WLAN_ACTION_ADDBA_RESP, 37);/* reject ADDBA Req */
|
||||
break;
|
||||
case RTW_WLAN_ACTION_ADDBA_RESP: /* ADDBA response */
|
||||
status = RTW_GET_LE16(&frame_body[3]);
|
||||
status = get_unaligned_le16(&frame_body[3]);
|
||||
tid = ((frame_body[5] >> 2) & 0x7);
|
||||
if (status == 0) { /* successful */
|
||||
DBG_88E("agg_enable for TID=%d\n", tid);
|
||||
|
@ -1803,7 +1803,7 @@ unsigned int OnAction_back(struct adapter *padapter, union recv_frame *precv_fra
|
|||
if ((frame_body[3] & BIT(3)) == 0) {
|
||||
psta->htpriv.agg_enable_bitmap &= ~(1 << ((frame_body[3] >> 4) & 0xf));
|
||||
psta->htpriv.candidate_tid_bitmap &= ~(1 << ((frame_body[3] >> 4) & 0xf));
|
||||
reason_code = RTW_GET_LE16(&frame_body[4]);
|
||||
reason_code = get_unaligned_le16(&frame_body[4]);
|
||||
} else if ((frame_body[3] & BIT(3)) == BIT(3)) {
|
||||
tid = (frame_body[3] >> 4) & 0x0F;
|
||||
preorder_ctrl = &psta->recvreorder_ctrl[tid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue