mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
staging: rtl8723au: Adjust whitespace in and around comments
As the subject indicates, adjust whitespace in and around comments in rtl8723au's rtw_security.c. Signed-off-by: M. Vefa Bicakci <m.v.b@runbox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
268523aa6a
commit
1d6b1ac0b6
1 changed files with 57 additions and 56 deletions
|
@ -579,8 +579,8 @@ static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16)
|
||||||
PPK[5] += RotR1(PPK[4]);
|
PPK[5] += RotR1(PPK[4]);
|
||||||
/* Note: At this point, for a given key TK[0..15], the 96-bit output */
|
/* Note: At this point, for a given key TK[0..15], the 96-bit output */
|
||||||
/* value PPK[0..5] is guaranteed to be unique, as a function */
|
/* value PPK[0..5] is guaranteed to be unique, as a function */
|
||||||
/* of the 96-bit "input" value {TA, IV32, IV16}. That is, P1K */
|
/* of the 96-bit "input" value {TA, IV32, IV16}. That is, */
|
||||||
/* is now a keyed permutation of {TA, IV32, IV16}. */
|
/* P1K is now a keyed permutation of {TA, IV32, IV16}. */
|
||||||
|
|
||||||
/* Set RC4KEY[0..3], which includes "cleartext" portion of RC4 key */
|
/* Set RC4KEY[0..3], which includes "cleartext" portion of RC4 key */
|
||||||
rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
|
rc4key[0] = Hi8(iv16); /* RC4KEY[0..2] is the WEP IV */
|
||||||
|
@ -1597,8 +1597,9 @@ int rtw_aes_decrypt23a(struct rtw_adapter *padapter,
|
||||||
"rtw_aes_decrypt23a: stainfo!= NULL!!!\n");
|
"rtw_aes_decrypt23a: stainfo!= NULL!!!\n");
|
||||||
|
|
||||||
if (is_multicast_ether_addr(prxattrib->ra)) {
|
if (is_multicast_ether_addr(prxattrib->ra)) {
|
||||||
/* in concurrent we should use sw decrypt in group key,
|
/* in concurrent we should use sw decrypt in
|
||||||
so we remove this message */
|
* group key, so we remove this message
|
||||||
|
*/
|
||||||
if (!psecuritypriv->binstallGrpkey) {
|
if (!psecuritypriv->binstallGrpkey) {
|
||||||
res = _FAIL;
|
res = _FAIL;
|
||||||
DBG_8723A("%s:rx bc/mc packets, but didn't install "
|
DBG_8723A("%s:rx bc/mc packets, but didn't install "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue