mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Fix a number of sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
96ff2341a9
commit
bf88fed9a4
33 changed files with 340 additions and 318 deletions
|
@ -2339,8 +2339,8 @@ sint wlanhdr_to_ethhdr(union recv_frame *precvframe)
|
|||
_rtw_memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN);
|
||||
|
||||
if (!bsnaphdr) {
|
||||
len = htons(len);
|
||||
_rtw_memcpy(ptr + 12, &len, 2);
|
||||
be_tmp = htons(len);
|
||||
_rtw_memcpy(ptr + 12, &be_tmp, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue