Commit 3efe8c49 authored by Khoa Tran Minh's avatar Khoa Tran Minh Committed by Greg Kroah-Hartman

Staging: rtl8712: Cleanup coding style warning

This patch fixes checkpatch warning about multiple line dereference.
Signed-off-by: default avatarKhoa Tran Minh <ktm8@posteo.de>
Link: https://lore.kernel.org/r/YLZ1fc7BsaTo+ixQ@rue.localhostSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6a80a7ab
...@@ -482,9 +482,9 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz) ...@@ -482,9 +482,9 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
ptxdesc->txdw1 |= cpu_to_le32((0x01 << 22) & ptxdesc->txdw1 |= cpu_to_le32((0x01 << 22) &
0x00c00000); 0x00c00000);
/*KEY_ID when WEP is used;*/ /*KEY_ID when WEP is used;*/
ptxdesc->txdw1 |= cpu_to_le32((psecuritypriv-> ptxdesc->txdw1 |=
PrivacyKeyIndex << 17) & cpu_to_le32((psecuritypriv->PrivacyKeyIndex << 17) &
0x00060000); 0x00060000);
break; break;
case _TKIP_: case _TKIP_:
case _TKIP_WTMIC_: case _TKIP_WTMIC_:
......
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