Commit e9e2d2e3 authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman

staging: rtl8188eu: core: Add spaces around operators

Add spaces around '+' operator to get rid of checkpatch warning.
Signed-off-by: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 72369b1b
...@@ -261,7 +261,7 @@ static int recvframe_chkmic(struct adapter *adapter, ...@@ -261,7 +261,7 @@ static int recvframe_chkmic(struct adapter *adapter,
rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0], rtw_seccalctkipmic(mickey, pframe, payload, datalen, &miccode[0],
(unsigned char)prxattrib->priority); /* care the length of the data */ (unsigned char)prxattrib->priority); /* care the length of the data */
pframemic = payload+datalen; pframemic = payload + datalen;
bmic_err = false; bmic_err = false;
...@@ -1308,11 +1308,11 @@ static int wlanhdr_to_ethhdr(struct recv_frame *precvframe) ...@@ -1308,11 +1308,11 @@ static int wlanhdr_to_ethhdr(struct recv_frame *precvframe)
return _FAIL; return _FAIL;
memcpy(ptr, pattrib->dst, ETH_ALEN); memcpy(ptr, pattrib->dst, ETH_ALEN);
memcpy(ptr+ETH_ALEN, pattrib->src, ETH_ALEN); memcpy(ptr + ETH_ALEN, pattrib->src, ETH_ALEN);
if (!bsnaphdr) { if (!bsnaphdr) {
be_tmp = htons(len); be_tmp = htons(len);
memcpy(ptr+12, &be_tmp, 2); memcpy(ptr + 12, &be_tmp, 2);
} }
return _SUCCESS; return _SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment