staging: rtl8188eu: core: Add spaces around operators
Add spaces around '+' operator to get rid of checkpatch warning. Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
72369b1b87
commit
e9e2d2e34f
@ -261,7 +261,7 @@ static int recvframe_chkmic(struct adapter *adapter,
|
||||
rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0],
|
||||
(unsigned char)prxattrib->priority); /* care the length of the data */
|
||||
|
||||
pframemic = payload+datalen;
|
||||
pframemic = payload + datalen;
|
||||
|
||||
bmic_err = false;
|
||||
|
||||
@ -1308,11 +1308,11 @@ static int wlanhdr_to_ethhdr(struct recv_frame *precvframe)
|
||||
return _FAIL;
|
||||
|
||||
memcpy(ptr, pattrib->dst, ETH_ALEN);
|
||||
memcpy(ptr+ETH_ALEN, pattrib->src, ETH_ALEN);
|
||||
memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN);
|
||||
|
||||
if (!bsnaphdr) {
|
||||
be_tmp = htons(len);
|
||||
memcpy(ptr+12, &be_tmp, 2);
|
||||
memcpy(ptr + 12, &be_tmp, 2);
|
||||
}
|
||||
|
||||
return _SUCCESS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user