mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Fix more endian issues
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
b3e44458db
commit
276a62340a
5 changed files with 64 additions and 62 deletions
|
@ -571,7 +571,7 @@ static void ConstructARPResponse(
|
|||
struct security_priv *psecuritypriv = &padapter->securitypriv;
|
||||
static u8 ARPLLCHeader[8] = {0xAA, 0xAA, 0x03, 0x00, 0x00, 0x00, 0x08, 0x06};
|
||||
|
||||
u16 *fctrl;
|
||||
__le16 *fctrl;
|
||||
u32 pktlen;
|
||||
u8 *pARPRspPkt = pframe;
|
||||
//for TKIP Cal MIC
|
||||
|
|
|
@ -259,7 +259,7 @@ static int usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val)
|
|||
u16 wvalue;
|
||||
u16 index;
|
||||
u16 len;
|
||||
__le16 data;
|
||||
__le32 data;
|
||||
int ret;
|
||||
|
||||
request = 0x05;
|
||||
|
@ -269,7 +269,7 @@ static int usb_write16(struct intf_hdl *pintfhdl, u32 addr, u16 val)
|
|||
wvalue = (u16)(addr&0x0000ffff);
|
||||
len = 2;
|
||||
|
||||
data = cpu_to_le16(val);
|
||||
data = cpu_to_le32(val & 0x0000ffff);
|
||||
|
||||
ret = usbctrl_vendorreq(pintfhdl, request, wvalue, index, &data, len, requesttype);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue