mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Fix more sparse warnings
Most of these are for endian issues Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
21703c67e2
commit
254539b5ec
5 changed files with 434 additions and 575 deletions
|
@ -2199,7 +2199,7 @@ _func_enter_;
|
|||
RT_TRACE(_module_rtl871x_recv_c_,_drv_info_,("\n===pattrib->hdrlen: %x, pattrib->iv_len:%x ===\n\n", pattrib->hdrlen, pattrib->iv_len));
|
||||
|
||||
_rtw_memcpy(ð_type, ptr+rmv_len, 2);
|
||||
eth_type= ntohs((unsigned short )eth_type); //pattrib->ether_type
|
||||
eth_type= ntohs((u16)eth_type); //pattrib->ether_type
|
||||
pattrib->eth_type = eth_type;
|
||||
|
||||
if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue